From ca5a7c21f71e542423d68d1721f7b13b07becfcb Mon Sep 17 00:00:00 2001 From: Dirk Stolle Date: Wed, 28 Sep 2022 19:26:03 +0200 Subject: [PATCH] ci: run clippy only on stable Rust channel Sparked by the comments about nightly clippy breaking the build too often (see ), this change will limit clippy to builds with a stable Rust version only. --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index baed461434..8377a92ffb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -73,6 +73,7 @@ jobs: with: command: clippy args: --all -- -D warnings + if: matrix.rust == 'stable' - name: Build with docs stub if: "contains(matrix.os, 'ubuntu') && matrix.php == '8.1'" env: