Skip to content

Commit

Permalink
Run Clippy on all targets (standard, tests, examples and benchmarks) (i…
Browse files Browse the repository at this point in the history
…nformalsystems#220)

* Run clippy on all targets (standard, tests, examples and benchmarks)

* Replace deprecated --all options with --workspace equivalent

* Remove trailing whitespaces
  • Loading branch information
romac authored Sep 10, 2020
1 parent 4128596 commit ed51420
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/master'"

fmt:
runs-on: ubuntu-latest
steps:
Expand All @@ -34,7 +34,7 @@ jobs:
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features
args: --all-features --all-targets

test-stable:
runs-on: ubuntu-latest
Expand All @@ -47,7 +47,7 @@ jobs:
- uses: actions-rs/cargo@v1
with:
command: build
args: --all --all-targets
args: --workspace --all-targets
- uses: actions-rs/cargo@v1
with:
command: test
Expand Down

0 comments on commit ed51420

Please sign in to comment.