Skip to content

Commit

Permalink
CI: Fail the build if cargo hack shows any warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Turbo87 committed Dec 27, 2024
1 parent 61c4f8e commit d7d7bef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ jobs:

cargo-hack:
runs-on: ubuntu-24.04
env:
# Fail the build if there are any warnings
RUSTFLAGS: "-D warnings"
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
Expand Down

0 comments on commit d7d7bef

Please sign in to comment.