| 1 |
name: Fuzz |
| 2 |
on: |
| 3 |
schedule: |
| 4 |
- cron: "0 3 * * *" |
| 5 |
workflow_dispatch: |
| 6 |
|
| 7 |
permissions: |
| 8 |
contents: read |
| 9 |
|
| 10 |
jobs: |
| 11 |
fuzz: |
| 12 |
runs-on: ubuntu-latest |
| 13 |
steps: |
| 14 |
- name: Checkout code |
| 15 |
uses: actions/[email protected] |
| 16 |
- name: Install Go |
| 17 |
uses: actions/[email protected] |
| 18 |
with: |
| 19 |
go-version: 'stable' |
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
- run: go test -fuzztime=3m -fuzz=Mimetype ./ |
| 24 |
- run: go test -fuzztime=3m -fuzz=Search ./internal/scan |
| 25 |
- run: go test -fuzztime=3m -fuzz=Match ./internal/scan |
| 26 |
- run: go test -fuzztime=3m -fuzz=Json ./internal/json |
| 27 |
- run: go test -fuzztime=3m -fuzz=Parser ./internal/csv |
| 28 |
- run: go test -fuzztime=3m -fuzz=Plain ./internal/charset |
| 29 |
- run: go test -fuzztime=3m -fuzz=XML ./internal/charset |
| 30 |
- run: go test -fuzztime=3m -fuzz=HTML ./internal/charset |
| 31 |
- run: go test -fuzztime=3m -fuzz=Meta ./internal/charset |
| 32 |
- run: go test -fuzztime=3m -fuzz=GetAnAttribute ./internal/markup |
| 33 |
- run: go test -fuzztime=3m -fuzz=GetAValue ./internal/markup |