Skip to content

Commit 0a28f79

Browse files
authored
chore(ci): dogfood build.warnings (#17195)
2 parents f440024 + 6c91ef9 commit 0a28f79

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/main.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,13 @@ jobs:
7676
os: windows-latest
7777
name: Clippy ${{ matrix.name }}
7878
runs-on: ${{ matrix.os }}
79+
env:
80+
CARGO_BUILD_WARNINGS: deny
7981
steps:
8082
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
8183
- run: rustup update stable && rustup default stable
8284
- run: rustup component add clippy
83-
- run: cargo clippy --workspace --all-targets --no-deps -- -D warnings
85+
- run: cargo clippy --workspace --all-targets --no-deps --keep-going
8486

8587
stale-label:
8688
runs-on: ubuntu-latest
@@ -298,9 +300,9 @@ jobs:
298300
- name: Run semver-check
299301
run: cargo +stable run -p semver-check
300302
- name: Ensure intradoc links are valid
301-
run: cargo doc --workspace --document-private-items --no-deps
303+
run: cargo doc --workspace --document-private-items --no-deps --keep-going
302304
env:
303-
RUSTDOCFLAGS: -D warnings
305+
CARGO_BUILD_WARNINGS: deny
304306
- name: Install mdbook
305307
run: |
306308
mkdir mdbook

0 commit comments

Comments
 (0)