Skip to content

Commit fe49675

Browse files
committed
Fix non-nightly clippy.
1 parent eacbf92 commit fe49675

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,14 @@ jobs:
4141
run: rustup run ${{ matrix.rust }} cargo fmt --all -- --check
4242

4343
- name: Clippy
44+
shell: bash
45+
run: rustup run ${{ matrix.rust }} cargo clippy --all -- -D warnings
46+
if: matrix.rust != 'nightly'
47+
48+
- name: Clippy (nightly)
4449
shell: bash
4550
run: rustup run ${{ matrix.rust }} cargo clippy --all -- -D warnings -A clippy::upper_case_acronyms
51+
if: matrix.rust == 'nightly'
4652

4753
- name: Test (release)
4854
shell: bash

0 commit comments

Comments
 (0)