Skip to content

Commit 20d84fd

Browse files
committed
Enable internal lints for every test in CI
1 parent 77a32eb commit 20d84fd

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/clippy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@ jobs:
6363
echo "LD_LIBRARY_PATH=${SYSROOT}/lib${LD_LIBRARY_PATH+:${LD_LIBRARY_PATH}}" >> $GITHUB_ENV
6464
6565
- name: Build
66-
run: cargo build --features deny-warnings
66+
run: cargo build --features deny-warnings,internal-lints
6767

6868
- name: Test
69-
run: cargo test --features deny-warnings
69+
run: cargo test --features deny-warnings,internal-lints
7070

7171
- name: Test clippy_lints
72-
run: cargo test --features deny-warnings
72+
run: cargo test --features deny-warnings,internal-lints
7373
working-directory: clippy_lints
7474

7575
- name: Test rustc_tools_util

.github/workflows/clippy_bors.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,13 +123,13 @@ jobs:
123123
SYSROOT=$(rustc --print sysroot)
124124
echo "$SYSROOT/bin" >> $GITHUB_PATH
125125
126-
- name: Build with internal lints
126+
- name: Build
127127
run: cargo build --features deny-warnings,internal-lints
128128

129-
- name: Test with internal lints
129+
- name: Test
130130
run: cargo test --features deny-warnings,internal-lints
131131

132-
- name: Test clippy_lints with internal lints
132+
- name: Test clippy_lints
133133
run: cargo test --features deny-warnings,internal-lints
134134
working-directory: clippy_lints
135135

0 commit comments

Comments
 (0)