1111 CARGO_TARGET_DIR : ' ${{ github.workspace }}/target'
1212 NO_FMT_TEST : 1
1313 CARGO_INCREMENTAL : 0
14+ RUSTFLAGS : -D warnings
1415
1516concurrency :
1617 # For a given workflow, if we push to the same branch, cancel all previous builds on that branch.
@@ -85,34 +86,34 @@ jobs:
8586
8687 # Run
8788 - name : Build
88- run : cargo build --tests --features deny-warnings, internal
89+ run : cargo build --tests --features internal
8990
9091 - name : Test
9192 if : matrix.host == 'x86_64-unknown-linux-gnu'
92- run : cargo test --features deny-warnings, internal
93+ run : cargo test --features internal
9394
9495 - name : Test
9596 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
9798
9899 - name : Test clippy_lints
99- run : cargo test --features deny-warnings, internal
100+ run : cargo test --features internal
100101 working-directory : clippy_lints
101102
102103 - name : Test clippy_utils
103- run : cargo test --features deny-warnings
104+ run : cargo test
104105 working-directory : clippy_utils
105106
106107 - name : Test clippy_config
107- run : cargo test --features deny-warnings
108+ run : cargo test
108109 working-directory : clippy_config
109110
110111 - name : Test rustc_tools_util
111- run : cargo test --features deny-warnings
112+ run : cargo test
112113 working-directory : rustc_tools_util
113114
114115 - name : Test clippy_dev
115- run : cargo test --features deny-warnings
116+ run : cargo test
116117 working-directory : clippy_dev
117118
118119 - name : Test clippy-driver
@@ -135,11 +136,6 @@ jobs:
135136 - name : Test metadata collection
136137 run : cargo collect-metadata
137138
138- - name : Test lint_configuration.md is up-to-date
139- run : |
140- echo "run \`cargo collect-metadata\` if this fails"
141- git update-index --refresh
142-
143139 integration_build :
144140 needs : changelog
145141 runs-on : ubuntu-latest
@@ -166,7 +162,7 @@ jobs:
166162 find $DIR ! -executable -o -type d ! -path $DIR | xargs rm -rf
167163
168164 - name : Upload Binaries
169- uses : actions/upload-artifact@v3
165+ uses : actions/upload-artifact@v4
170166 with :
171167 name : binaries
172168 path : target/debug
@@ -206,7 +202,7 @@ jobs:
206202
207203 # Download
208204 - name : Download target dir
209- uses : actions/download-artifact@v3
205+ uses : actions/download-artifact@v4
210206 with :
211207 name : binaries
212208 path : target/debug
0 commit comments