mirror of
https://github.com/LukeMathWalker/zero-to-production.git
synced 2024-12-04 23:26:32 +00:00
Update clippy and fmt jobs.
This commit is contained in:
parent
447fdbfa96
commit
7a6a5c90ae
1 changed files with 4 additions and 6 deletions
10
.github/workflows/general.yml
vendored
10
.github/workflows/general.yml
vendored
|
@ -37,10 +37,9 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
override: true
|
||||
- run: rustup component add rustfmt
|
||||
components: rustfmt
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: fmt
|
||||
|
@ -53,13 +52,12 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
override: true
|
||||
- run: rustup component add clippy
|
||||
- uses: actions-rs/cargo@v1
|
||||
components: clippy
|
||||
- uses: actions-rs/clippy-check@v1
|
||||
with:
|
||||
command: clippy
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
args: -- -D warnings
|
||||
|
||||
coverage:
|
||||
|
|
Loading…
Reference in a new issue