From 0dbceccbc1cb1becded014fcd88e817ad707d2a8 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Tue, 19 Nov 2024 23:07:48 -0600 Subject: [PATCH] Only build the `fuzz` crate on `main` (#14478) It's not actually doing anything per pull request and it's pretty slow? xref #14469 It seems useful to build on `main` still to find build regressions? e.g. https://github.com/astral-sh/ruff/issues/9368 --- .github/workflows/ci.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 52e563ba40..205de2cf26 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -257,11 +257,11 @@ jobs: NEXTEST_PROFILE: "ci" run: cargo +${{ steps.msrv.outputs.value }} insta test --all-features --unreferenced reject --test-runner nextest - cargo-fuzz: - name: "cargo fuzz" + cargo-fuzz-build: + name: "cargo fuzz build" runs-on: ubuntu-latest needs: determine_changes - if: ${{ needs.determine_changes.outputs.code == 'true' || github.ref == 'refs/heads/main' }} + if: ${{ github.ref == 'refs/heads/main' }} timeout-minutes: 10 steps: - uses: actions/checkout@v4