Fuzz tests #626
This file contains 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: | |
schedule: | |
# https://crontab.guru/#05_14_*_*_* | |
- cron: "05 14 * * *" | |
workflow_dispatch: | |
jobs: | |
fuzz: | |
name: Fuzz tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5 | |
with: | |
go-version: ">=1.22.0" | |
- run: go run mage.go fuzz | |
- run: | | |
gh issue create --title "$GITHUB_WORKFLOW #$GITHUB_RUN_NUMBER failed" \ | |
--body "See [$GITHUB_WORKFLOW #$GITHUB_RUN_NUMBER](https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID)." | |
if: failure() && github.run_attempt == 1 | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |