Skip to content

Commit

Permalink
chore: take RUSTFLAGS into account when caching
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench committed Sep 13, 2023
1 parent 4ac729b commit 12dd7bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ jobs:
name: cargo clippy
runs-on: ${{ matrix.runner }}
timeout-minutes: 30

env:
RUSTFLAGS: -Dwarnings

strategy:
fail-fast: false
matrix:
Expand All @@ -44,8 +46,6 @@ jobs:

- name: Run `cargo clippy`
run: cargo clippy --workspace --locked --release
env:
RUSTFLAGS: -Dwarnings

- name: Run `cargo fmt`
run: cargo fmt --all --check

0 comments on commit 12dd7bb

Please sign in to comment.