mirror of
https://github.com/sile/hls_m3u8.git
synced 2025-02-02 22:52:19 +00:00
fix github actions
This commit is contained in:
parent
9b61f74b9d
commit
94d85d922f
1 changed files with 8 additions and 6 deletions
14
.github/workflows/rust.yml
vendored
14
.github/workflows/rust.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue