Skip to content

fix: goreleaser v2 compat, trigger release-binaries with workflow_run #823

fix: goreleaser v2 compat, trigger release-binaries with workflow_run

fix: goreleaser v2 compat, trigger release-binaries with workflow_run #823

Workflow file for this run

on: [ push, pull_request ]
name: Go Fuzz
jobs:
v1:
strategy:
fail-fast: true
matrix:
target: [ "CarReader" ]
runs-on: ubuntu-latest
name: Fuzz V1 ${{ matrix.target }}
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions/setup-go@v5
with:
go-version: 1.22.x
- name: Go information
run: |
go version
go env
- name: Run Fuzzing for 1m
run: go test -v -fuzz=Fuzz${{ matrix.target }} -fuzztime=1m .
v2:
strategy:
fail-fast: true
matrix:
target: [ "BlockReader", "Reader", "Inspect" ]
runs-on: ubuntu-latest
name: Fuzz V2 ${{ matrix.target }}
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions/setup-go@v5
with:
go-version: 1.22.x
- name: Go information
run: |
go version
go env
- name: Run Fuzzing for 1m
run: |
cd v2
go test -v -fuzz=Fuzz${{ matrix.target }} -fuzztime=1m .