Skip to content
This repository was archived by the owner on Mar 4, 2024. It is now read-only.

Commit dc793bd

Browse files
committed
ci: Only run clippy on stable with fatal errors
1 parent bfb71c6 commit dc793bd

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/CI.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,12 @@ jobs:
7373
if: matrix.rust == 'beta' || matrix.rust == 'stable'
7474
- working-directory: ${{ matrix.conf.name }}
7575
name: clippy ${{ matrix.conf.name }}
76-
run: cargo clippy --all-targets -- -D warnings -A unknown-lints
77-
if: matrix.rust == 'beta' || matrix.rust == 'stable'
76+
run: cargo clippy --all-targets -- -D warnings
77+
if: matrix.rust == 'stable'
78+
- working-directory: ${{ matrix.conf.name }}
79+
name: clippy ${{ matrix.conf.name }}
80+
run: cargo clippy --all-targets
81+
if: matrix.rust == 'beta'
7882
# tests
7983
- name: tests (rust ${{ matrix.rust }})
8084
run: xvfb-run --auto-servernum cargo test --manifest-path ${{ matrix.conf.name }}/Cargo.toml --features "${{ matrix.conf.features }}"

0 commit comments

Comments
 (0)