chore(deps): update dependency golangci/golangci-lint to v2.7.1 (#139) #329
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: fuzz tests | |
| on: | |
| push: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: "0 7 * * 6" | |
| permissions: {} | |
| jobs: | |
| fuzz: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| actions: read # for cache access | |
| env: | |
| FUZZ_TIME: 10m | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4.2.2 | |
| - name: Set up Go | |
| uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0 | |
| with: | |
| go-version: stable | |
| - name: Set environment variable based on trigger | |
| run: | | |
| if [[ "${{ github.event_name }}" != "push" ]]; then | |
| echo "FUZZ_TIME=30m" >> $GITHUB_ENV | |
| fi | |
| - name: Fuzzing | |
| uses: form3tech-oss/go-ci-fuzz/ci/github-actions/fuzz@4663eaaadb263d2621592c62681dac7f7002d582 | |
| with: | |
| fuzz-time: ${{ env.FUZZ_TIME }} | |
| fail-fast: true | |
| version: 0.1.3 |