Use -D warnings instead of deny-warnings feature.
This commit is contained in:
parent
c082bc2cb8
commit
4e57b2c46f
28 changed files with 23 additions and 52 deletions
17
.github/workflows/clippy_bors.yml
vendored
17
.github/workflows/clippy_bors.yml
vendored
|
|
@ -11,6 +11,7 @@ env:
|
|||
CARGO_TARGET_DIR: '${{ github.workspace }}/target'
|
||||
NO_FMT_TEST: 1
|
||||
CARGO_INCREMENTAL: 0
|
||||
RUSTFLAGS: -D warnings
|
||||
|
||||
concurrency:
|
||||
# For a given workflow, if we push to the same branch, cancel all previous builds on that branch.
|
||||
|
|
@ -85,34 +86,34 @@ jobs:
|
|||
|
||||
# Run
|
||||
- name: Build
|
||||
run: cargo build --tests --features deny-warnings,internal
|
||||
run: cargo build --tests --features internal
|
||||
|
||||
- name: Test
|
||||
if: matrix.host == 'x86_64-unknown-linux-gnu'
|
||||
run: cargo test --features deny-warnings,internal
|
||||
run: cargo test --features internal
|
||||
|
||||
- name: Test
|
||||
if: matrix.host != 'x86_64-unknown-linux-gnu'
|
||||
run: cargo test --features deny-warnings,internal -- --skip dogfood
|
||||
run: cargo test --features internal -- --skip dogfood
|
||||
|
||||
- name: Test clippy_lints
|
||||
run: cargo test --features deny-warnings,internal
|
||||
run: cargo test --features internal
|
||||
working-directory: clippy_lints
|
||||
|
||||
- name: Test clippy_utils
|
||||
run: cargo test --features deny-warnings
|
||||
run: cargo test
|
||||
working-directory: clippy_utils
|
||||
|
||||
- name: Test clippy_config
|
||||
run: cargo test --features deny-warnings
|
||||
run: cargo test
|
||||
working-directory: clippy_config
|
||||
|
||||
- name: Test rustc_tools_util
|
||||
run: cargo test --features deny-warnings
|
||||
run: cargo test
|
||||
working-directory: rustc_tools_util
|
||||
|
||||
- name: Test clippy_dev
|
||||
run: cargo test --features deny-warnings
|
||||
run: cargo test
|
||||
working-directory: clippy_dev
|
||||
|
||||
- name: Test clippy-driver
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue