clerk/.github/workflows/fuzz.yml (view raw)
| 1 | name: Fuzz |
| 2 | |
| 3 | on: |
| 4 | push: |
| 5 | pull_request: |
| 6 | |
| 7 | jobs: |
| 8 | fuzz: |
| 9 | runs-on: ubuntu-latest |
| 10 | timeout-minutes: 10 |
| 11 | steps: |
| 12 | - uses: actions/checkout@v5 |
| 13 | - uses: actions/setup-go@v6 |
| 14 | with: |
| 15 | go-version-file: go.mod |
| 16 | |
| 17 | - name: Fuzz lexer |
| 18 | run: go test -fuzz=FuzzLexer -fuzztime=90s ./journal/lexer/ |
| 19 | |
| 20 | - name: Fuzz parser |
| 21 | run: go test -fuzz=FuzzParser -fuzztime=90s ./journal/parser/ |