| 1 | name: input-fuzz |
| 2 | |
| 3 | on: |
| 4 | push: |
| 5 | branches: |
| 6 | - main |
| 7 | pull_request: |
| 8 | paths: |
| 9 | - input/** |
| 10 | - .github/workflows/input-fuzz.yml |
| 11 | |
| 12 | jobs: |
| 13 | build: |
| 14 | strategy: |
| 15 | matrix: |
| 16 | os: [ubuntu-latest, macos-latest, windows-latest] |
| 17 | runs-on: ${{ matrix.os }} |
| 18 | defaults: |
| 19 | run: |
| 20 | working-directory: ./input |
| 21 | steps: |
| 22 | - uses: actions/checkout@v5 |
| 23 | - uses: actions/setup-go@v6 |
| 24 | with: |
| 25 | go-version-file: ./input/go.mod |
| 26 | cache: true |
| 27 | cache-dependency-path: ./input.sum |
| 28 | - run: go test -run="^$" -fuzz=FuzzParseSequence -fuzztime=1m -v ./... |