Skip to content

Commit 342a328

Browse files
committed
ci: Fail build on warnings
1 parent 8be696f commit 342a328

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ jobs:
5151
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
5252

5353
- name: Build
54+
env:
55+
RUSTFLAGS: '-D warnings'
5456
run: cargo build --all --verbose
5557
- name: Tests
5658
run: cargo test --all --verbose

0 commit comments

Comments
 (0)