Skip to content

Commit 0717a3f

Browse files
Ensure warnings are enabled for all CI jobs
1 parent e431001 commit 0717a3f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ on:
99

1010
name: CI
1111

12+
env:
13+
RUSTDOCFLAGS: -Dwarnings
14+
RUSTFLAGS: -Dwarnings
15+
1216
jobs:
1317
msrv:
1418
runs-on: ubuntu-latest
@@ -76,16 +80,14 @@ jobs:
7680
steps:
7781
- uses: actions/checkout@v5
7882
- uses: Swatinem/rust-cache@v2
79-
- run: cargo clippy -- -D warnings
83+
- run: cargo clippy
8084

8185
doc:
8286
runs-on: ubuntu-latest
8387
steps:
8488
- uses: actions/checkout@v5
8589
- uses: Swatinem/rust-cache@v2
8690
- run: cargo doc
87-
env:
88-
RUSTDOCFLAGS: -Dwarnings
8991

9092
cargo-deny:
9193
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)