Skip to content

Commit ca5a7c2

Browse files
committed
ci: run clippy only on stable Rust channel
Sparked by the comments about nightly clippy breaking the build too often (see <#151 (comment)>), this change will limit clippy to builds with a stable Rust version only.
1 parent 81d1861 commit ca5a7c2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ jobs:
7373
with:
7474
command: clippy
7575
args: --all -- -D warnings
76+
if: matrix.rust == 'stable'
7677
- name: Build with docs stub
7778
if: "contains(matrix.os, 'ubuntu') && matrix.php == '8.1'"
7879
env:

0 commit comments

Comments
 (0)