11
11
CARGO_TARGET_DIR : ' ${{ github.workspace }}/target'
12
12
NO_FMT_TEST : 1
13
13
14
+ defaults :
15
+ run :
16
+ shell : bash
17
+
14
18
jobs :
15
19
changelog :
16
20
runs-on : ubuntu-latest
@@ -105,7 +109,6 @@ jobs:
105
109
run : bash setup-toolchain.sh
106
110
env :
107
111
HOST_TOOLCHAIN : ${{ matrix.host }}
108
- shell : bash
109
112
110
113
# Run
111
114
- name : Set LD_LIBRARY_PATH (Linux)
@@ -124,39 +127,31 @@ jobs:
124
127
run : |
125
128
SYSROOT=$(rustc --print sysroot)
126
129
echo "$SYSROOT/bin" >> $GITHUB_PATH
127
- shell : bash
128
130
129
131
- name : Build
130
132
run : cargo build --features deny-warnings
131
- shell : bash
132
133
133
134
- name : Test
134
135
run : cargo test --features deny-warnings
135
- shell : bash
136
136
137
137
- name : Test clippy_lints
138
138
run : cargo test --features deny-warnings
139
- shell : bash
140
139
working-directory : clippy_lints
141
140
142
141
- name : Test rustc_tools_util
143
142
run : cargo test --features deny-warnings
144
- shell : bash
145
143
working-directory : rustc_tools_util
146
144
147
145
- name : Test clippy_dev
148
146
run : cargo test --features deny-warnings
149
- shell : bash
150
147
working-directory : clippy_dev
151
148
152
149
- name : Test cargo-clippy
153
150
run : ../target/debug/cargo-clippy
154
- shell : bash
155
151
working-directory : clippy_workspace_tests
156
152
157
153
- name : Test clippy-driver
158
154
run : bash .github/driver.sh
159
- shell : bash
160
155
env :
161
156
OS : ${{ runner.os }}
162
157
@@ -165,7 +160,7 @@ jobs:
165
160
run : |
166
161
cargo +nightly install cargo-cache --no-default-features --features ci-autoclean cargo-cache
167
162
cargo cache
168
- shell : bash
163
+
169
164
integration_build :
170
165
needs : changelog
171
166
runs-on : ubuntu-latest
0 commit comments