|
11 | 11 | CARGO_TARGET_DIR: '${{ github.workspace }}/target'
|
12 | 12 | NO_FMT_TEST: 1
|
13 | 13 | CARGO_INCREMENTAL: 0
|
| 14 | + RUSTFLAGS: -D warnings |
14 | 15 |
|
15 | 16 | concurrency:
|
16 | 17 | # For a given workflow, if we push to the same branch, cancel all previous builds on that branch.
|
@@ -85,34 +86,34 @@ jobs:
|
85 | 86 |
|
86 | 87 | # Run
|
87 | 88 | - name: Build
|
88 |
| - run: cargo build --tests --features deny-warnings,internal |
| 89 | + run: cargo build --tests --features internal |
89 | 90 |
|
90 | 91 | - name: Test
|
91 | 92 | if: matrix.host == 'x86_64-unknown-linux-gnu'
|
92 |
| - run: cargo test --features deny-warnings,internal |
| 93 | + run: cargo test --features internal |
93 | 94 |
|
94 | 95 | - name: Test
|
95 | 96 | if: matrix.host != 'x86_64-unknown-linux-gnu'
|
96 |
| - run: cargo test --features deny-warnings,internal -- --skip dogfood |
| 97 | + run: cargo test --features internal -- --skip dogfood |
97 | 98 |
|
98 | 99 | - name: Test clippy_lints
|
99 |
| - run: cargo test --features deny-warnings,internal |
| 100 | + run: cargo test --features internal |
100 | 101 | working-directory: clippy_lints
|
101 | 102 |
|
102 | 103 | - name: Test clippy_utils
|
103 |
| - run: cargo test --features deny-warnings |
| 104 | + run: cargo test |
104 | 105 | working-directory: clippy_utils
|
105 | 106 |
|
106 | 107 | - name: Test clippy_config
|
107 |
| - run: cargo test --features deny-warnings |
| 108 | + run: cargo test |
108 | 109 | working-directory: clippy_config
|
109 | 110 |
|
110 | 111 | - name: Test rustc_tools_util
|
111 |
| - run: cargo test --features deny-warnings |
| 112 | + run: cargo test |
112 | 113 | working-directory: rustc_tools_util
|
113 | 114 |
|
114 | 115 | - name: Test clippy_dev
|
115 |
| - run: cargo test --features deny-warnings |
| 116 | + run: cargo test |
116 | 117 | working-directory: clippy_dev
|
117 | 118 |
|
118 | 119 | - name: Test clippy-driver
|
|
0 commit comments