Skip to content

jseek nightly fuzz

jseek nightly fuzz #49

Workflow file for this run

name: jseek nightly fuzz
on:
schedule:
- cron: "0 4 * * *"
workflow_dispatch: {}
concurrency:
group: fuzz-nightly-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
fuzz:
name: ${{ matrix.target }} (${{ matrix.os }})
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-14]
target:
- FuzzGetAgainstStdlib
- FuzzDocumentMatchesGet
- FuzzTapeMatchesGet
- FuzzEachKeyMatchesGet
- FuzzEachDocMatchesEachKey
- FuzzSetAgainstStdlib
- FuzzDeleteAgainstStdlib
- FuzzStreamMatchesArrayEach
- FuzzStreamBytesMatchesDecoder
- FuzzPinMatchesGet
- FuzzTransposeMatchesGet
runs-on: ${{ matrix.os }}
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.23.x"
cache: true
cache-dependency-path: go.mod
- name: Fuzz ${{ matrix.target }}
run: go test -run=^$ -fuzz=^${{ matrix.target }}$ -fuzztime=10m .
- name: Upload crashers
if: failure()
uses: actions/upload-artifact@v4
with:
name: fuzz-corpus-${{ matrix.target }}-${{ matrix.os }}-${{ github.run_id }}
path: testdata/fuzz/${{ matrix.target }}/
if-no-files-found: ignore