Fuzz tests #107
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@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: ">=1.20.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 }} |