Skip to content

Commit

Permalink
ci: simplify the clippy runs, don't check non-default features
Browse files Browse the repository at this point in the history
Signed-off-by: ljedrz <[email protected]>
  • Loading branch information
ljedrz committed Feb 11, 2021
1 parent ef2898c commit 41f9f00
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,25 +53,11 @@ jobs:
override: true
components: clippy

- name: Check examples
- name: Run clippy accross the workspace against all targets
uses: actions-rs/cargo@v1
with:
command: clippy
args: --examples --all

- name: Check examples with all features on stable
uses: actions-rs/cargo@v1
with:
command: clippy
args: --examples --all-features --all
if: matrix.rust == 'stable'

- name: Check benchmarks on nightly
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-features --examples --all --benches
if: matrix.rust == 'nightly'
args: --workspace --all-targets

test-wasm:
name: WASM Tests
Expand Down

0 comments on commit 41f9f00

Please sign in to comment.