Skip to content

Commit

Permalink
Simplify CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jakoschiko committed Sep 2, 2024
1 parent 8ea50e2 commit 98e8398
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,11 @@ jobs:
run: $HOME/.cargo/bin/cargo check --lib

- name: Check all
# We can't use --all-targets because it includes benches which requires nightly compiler
run: $HOME/.cargo/bin/cargo check --workspace --lib --bins --examples --tests
run: $HOME/.cargo/bin/cargo check --all-targets
if: ${{ matrix.rust.run-all }}

- name: Clippy
# We can't use --all-targets because it includes benches which requires nightly compiler
run: $HOME/.cargo/bin/cargo clippy --workspace --lib --bins --examples --tests
run: $HOME/.cargo/bin/cargo clippy --all-targets
if: ${{ matrix.rust.run-all }}

- name: Check Format
Expand Down

0 comments on commit 98e8398

Please sign in to comment.