Skip to content
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.

Commit

Permalink
Set RUSTFLAGS in CI to deny warnings
Browse files Browse the repository at this point in the history
.. this will keep us from re-introducing any new warnings and force us
to handle them.
  • Loading branch information
tnull committed Jan 5, 2024
1 parent 4b7d003 commit 7712297
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ jobs:
- name: Check formatting
if: matrix.check-fmt
run: rustup component add rustfmt && cargo fmt --all -- --check
- name: Set RUSTFLAGS to deny warnings
if: "matrix.toolchain == 'stable'"
run: echo "RUSTFLAGS=-D warnings" >> "$GITHUB_ENV"
- name: Test on Rust ${{ matrix.toolchain }}
run: |
cargo test
Expand Down

0 comments on commit 7712297

Please sign in to comment.