Skip to content

Commit 0dbcecc

Browse files
authored
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. #9368
1 parent 48680e1 commit 0dbcecc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -257,11 +257,11 @@ jobs:
257257
NEXTEST_PROFILE: "ci"
258258
run: cargo +${{ steps.msrv.outputs.value }} insta test --all-features --unreferenced reject --test-runner nextest
259259

260-
cargo-fuzz:
261-
name: "cargo fuzz"
260+
cargo-fuzz-build:
261+
name: "cargo fuzz build"
262262
runs-on: ubuntu-latest
263263
needs: determine_changes
264-
if: ${{ needs.determine_changes.outputs.code == 'true' || github.ref == 'refs/heads/main' }}
264+
if: ${{ github.ref == 'refs/heads/main' }}
265265
timeout-minutes: 10
266266
steps:
267267
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)