Skip to content

feat: update go directive to 1.20 #2018

feat: update go directive to 1.20

feat: update go directive to 1.20 #2018

Workflow file for this run

name: Fuzzing
on:
merge_group:
push:
branches:
- main
paths-ignore:
- '**/*.md'
pull_request:
branches:
- "**"
paths-ignore:
- '**/*.md'
permissions:
contents: read # for actions/checkout to fetch code
jobs:
test:
name: Fuzz
runs-on: ubuntu-latest
env:
GOFLAGS: -trimpath
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
with:
persist-credentials: false
- name: Setup Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version: 1.22.x
- name: Run any fuzzing tests
run: go test -list . | grep '^Fuzz' | parallel 'go test -v -run=^{}$ -fuzz=^{}$ -fuzztime=5m'