1
0
Fork 0
mirror of https://github.com/sile/hls_m3u8.git synced 2024-05-23 18:58:19 +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:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
- uses: actions/checkout@v2
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
- run: rustup component add rustfmt
- uses: actions-rs/cargo@v1
- uses: actions-rs/cargo@v2
with:
command: fmt
args: --all -- --check
@ -20,12 +21,13 @@ jobs:
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
- uses: actions/checkout@v2
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- run: rustup component add clippy
- uses: actions-rs/cargo@v1
- uses: actions-rs/cargo@v2
with:
command: clippy
# args: -- -D warnings