Skip to content

Commit f3374ed

Browse files
authored
Merge pull request #925 from sdroege/clippy-warnings
ci: Only deny clippy warnings with stable clippy
2 parents 0a7ba97 + a2b99e7 commit f3374ed

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/CI.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,14 @@ jobs:
7070
# clippy
7171
- run: rustup component add clippy
7272
if: matrix.rust == 'beta' || matrix.rust == 'stable'
73+
- working-directory: ${{ matrix.conf.name }}
74+
name: clippy ${{ matrix.conf.name }}
75+
run: cargo clippy --all-targets
76+
if: matrix.rust == 'beta'
7377
- working-directory: ${{ matrix.conf.name }}
7478
name: clippy ${{ matrix.conf.name }}
7579
run: cargo clippy --all-targets -- -D warnings
76-
if: matrix.rust == 'beta' || matrix.rust == 'stable'
80+
if: matrix.rust == 'stable'
7781
# tests
7882
- name: build
7983
run: cargo build --manifest-path ${{ matrix.conf.name }}/Cargo.toml --features "${{ matrix.conf.features }}"

0 commit comments

Comments
 (0)