Skip to content

Commit ba3f1ae

Browse files
committed
ci: partly clean build artifacts to work around "Found multiple rlibs for crate clippy_lints" compiletest error
1 parent 4148bb3 commit ba3f1ae

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/clippy_bors.yml

+9-2
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,17 @@ jobs:
131131
- name: Build
132132
run: cargo build --features deny-warnings
133133

134-
- name: Test
134+
# compiletest would panic due to "Found multiple rlibs for crate `clippy_lints`"
135+
- name: clean rlibs
136+
run: rm -f ./target/debug/deps/libclippy_lints*
137+
138+
- name: Build with internal lints
139+
run: cargo build --features deny-warnings internal-lints
140+
141+
- name: Test with internal lints
135142
run: cargo test --features deny-warnings --features internal-lints
136143

137-
- name: Test clippy_lints
144+
- name: Test clippy_lints with internal lints
138145
run: cargo test --features deny-warnings --features internal-lints
139146
working-directory: clippy_lints
140147

0 commit comments

Comments
 (0)