Skip to content

Commit

Permalink
CI: check clippy only on stable, beta or nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarcho committed Apr 29, 2020
1 parent a67f10d commit 879cbe3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,13 @@ jobs:
args: --all

- uses: actions-rs/cargo@v1
if: matrix.rust == 'stable' || matrix.rust == 'beta' || matrix.rust == 'nightly'
with:
command: fmt
args: --all -- --check

- uses: actions-rs/cargo@v1
if: matrix.rust == 'stable' || matrix.rust == 'beta' || matrix.rust == 'nightly'
with:
command: clippy
args: --all -- -D warnings
Expand Down

0 comments on commit 879cbe3

Please sign in to comment.