Skip to content

Merge pull request #501 from ipld/dependabot/go_modules/v2/github.com… #708

Merge pull request #501 from ipld/dependabot/go_modules/v2/github.com…

Merge pull request #501 from ipld/dependabot/go_modules/v2/github.com… #708

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@v4
with:
go-version: 1.18.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@v4
with:
go-version: 1.18.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 .