Skip to content

Commit

Permalink
ci: fix clippy lints
Browse files Browse the repository at this point in the history
Run "cargo clippy" directly, rather than rely on the clippy action due
to:

    actions-rs/clippy-check#167
  • Loading branch information
domodwyer committed Nov 10, 2022
1 parent 343b92e commit 9b3a9f8
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,22 +37,14 @@ jobs:
command: test
args: --no-default-features --lib --examples --tests --verbose

- name: bench
- name: build benchmarks
uses: actions-rs/cargo@v1
with:
command: test
args: --benches --no-run --verbose

lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: clippy
override: true
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features -- -D warnings
- name: clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-features

0 comments on commit 9b3a9f8

Please sign in to comment.