1
0
Fork 0
mirror of https://github.com/sile/hls_m3u8.git synced 2024-06-20 21:50:33 +00:00

fix github actions

This commit is contained in:
Luro02 2020-02-10 13:54:51 +01:00
parent 9b61f74b9d
commit 94d85d922f
No known key found for this signature in database
GPG key ID: B66FD4F74501A9CF

View file

@ -7,12 +7,13 @@ jobs:
rustfmt: rustfmt:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1 - name: Install latest nightly
uses: actions-rs/toolchain@v1
with: with:
toolchain: nightly toolchain: nightly
- run: rustup component add rustfmt - run: rustup component add rustfmt
- uses: actions-rs/cargo@v1 - uses: actions-rs/cargo@v2
with: with:
command: fmt command: fmt
args: --all -- --check args: --all -- --check
@ -20,12 +21,13 @@ jobs:
clippy: clippy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1 - name: Install latest nightly
uses: actions-rs/toolchain@v1
with: with:
toolchain: stable toolchain: stable
- run: rustup component add clippy - run: rustup component add clippy
- uses: actions-rs/cargo@v1 - uses: actions-rs/cargo@v2
with: with:
command: clippy command: clippy
# args: -- -D warnings # args: -- -D warnings