From 6fba41939c2d9cc4cd911b49d24ed9ffb528846e Mon Sep 17 00:00:00 2001 From: rami3l Date: Sun, 13 Sep 2026 22:16:59 +0200 Subject: [PATCH] ci(windows): move `cargo clippy` step to `release` build mode --- .github/workflows/ci.yaml | 6 +++--- ci/actions-templates/windows-builds-template.yaml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 40c7968c5d..fdcd389819 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -159,7 +159,7 @@ jobs: BUILD_PROFILE: ${{ matrix.mode }} run: bash ci/run.bash - name: Run cargo clippy - if: matrix.mode != 'release' && matrix.mingwdir == '' + if: matrix.mode == 'release' && matrix.mingwdir == '' env: TARGET: ${{ matrix.target }} # os-specific code leads to lints escaping if we only run this in one target @@ -350,7 +350,7 @@ jobs: BUILD_PROFILE: ${{ matrix.mode }} run: bash ci/run.bash - name: Run cargo clippy - if: matrix.mode != 'release' && matrix.mingwdir == '' + if: matrix.mode == 'release' && matrix.mingwdir == '' env: TARGET: ${{ matrix.target }} # os-specific code leads to lints escaping if we only run this in one target @@ -547,7 +547,7 @@ jobs: BUILD_PROFILE: ${{ matrix.mode }} run: bash ci/run.bash - name: Run cargo clippy - if: matrix.mode != 'release' && matrix.mingwdir == '' + if: matrix.mode == 'release' && matrix.mingwdir == '' env: TARGET: ${{ matrix.target }} # os-specific code leads to lints escaping if we only run this in one target diff --git a/ci/actions-templates/windows-builds-template.yaml b/ci/actions-templates/windows-builds-template.yaml index 3ac3107828..ff5a711cdc 100644 --- a/ci/actions-templates/windows-builds-template.yaml +++ b/ci/actions-templates/windows-builds-template.yaml @@ -150,7 +150,7 @@ jobs: # skip-main skip-pr skip-stable BUILD_PROFILE: ${{ matrix.mode }} run: bash ci/run.bash - name: Run cargo clippy - if: matrix.mode != 'release' && matrix.mingwdir == '' + if: matrix.mode == 'release' && matrix.mingwdir == '' env: TARGET: ${{ matrix.target }} # os-specific code leads to lints escaping if we only run this in one target