Skip to content

Commit 6c8731a

Browse files
committed
Deny warnings in stable CI
1 parent 3dd4de3 commit 6c8731a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ jobs:
5050
cargo update -p zstd-sys --precise "2.0.8+zstd.1.5.5" --verbose # zstd-sys 2.0.9+zstd.1.5.5 requires rustc 1.64.0
5151
cargo update -p petgraph --precise "0.6.3" --verbose # petgraph v0.6.4, requires rustc 1.64 or newer
5252
cargo update -p home --precise "0.5.5" --verbose # home v0.5.9, requires rustc 1.70 or newer
53+
- name: Set RUSTFLAGS to deny warnings
54+
if: "matrix.toolchain == 'stable'"
55+
run: echo "RUSTFLAGS=-D warnings" >> "$GITHUB_ENV"
5356
- name: Build on Rust ${{ matrix.toolchain }}
5457
run: cargo build --verbose --color always
5558
- name: Build with UniFFI support on Rust ${{ matrix.toolchain }}

0 commit comments

Comments
 (0)