Update clippy and fmt jobs.

This commit is contained in:
LukeMathWalker 2021-01-23 17:56:54 +00:00
parent 447fdbfa96
commit 7a6a5c90ae

View file

@ -37,10 +37,9 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1 - uses: actions-rs/toolchain@v1
with: with:
profile: minimal
toolchain: stable toolchain: stable
override: true override: true
- run: rustup component add rustfmt components: rustfmt
- uses: actions-rs/cargo@v1 - uses: actions-rs/cargo@v1
with: with:
command: fmt command: fmt
@ -53,13 +52,12 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1 - uses: actions-rs/toolchain@v1
with: with:
profile: minimal
toolchain: stable toolchain: stable
override: true override: true
- run: rustup component add clippy components: clippy
- uses: actions-rs/cargo@v1 - uses: actions-rs/clippy-check@v1
with: with:
command: clippy token: ${{ secrets.GITHUB_TOKEN }}
args: -- -D warnings args: -- -D warnings
coverage: coverage: