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
@@ -135,11 +136,6 @@ jobs:
135
136
- name : Test metadata collection
136
137
run : cargo collect-metadata
137
138
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
-
143
139
integration_build :
144
140
needs : changelog
145
141
runs-on : ubuntu-latest
@@ -166,7 +162,7 @@ jobs:
166
162
find $DIR ! -executable -o -type d ! -path $DIR | xargs rm -rf
167
163
168
164
- name : Upload Binaries
169
- uses : actions/upload-artifact@v3
165
+ uses : actions/upload-artifact@v4
170
166
with :
171
167
name : binaries
172
168
path : target/debug
@@ -206,7 +202,7 @@ jobs:
206
202
207
203
# Download
208
204
- name : Download target dir
209
- uses : actions/download-artifact@v3
205
+ uses : actions/download-artifact@v4
210
206
with :
211
207
name : binaries
212
208
path : target/debug
0 commit comments