chore: add race checker to "go test" in github action #108
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: Go fuzz test | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
fuzz-lexer-test: | |
name: Fuzz lexer test | |
runs-on: ubuntu-latest | |
steps: | |
# commit hash == v1.2.0 | |
- uses: jidicula/go-fuzz-action@4f24eed45b25214f31a9fe035ca68ea2c88c6a13 # TSCCR: no entry for action: "jidicula/go-fuzz-action" | |
with: | |
fuzz-time: 30s | |
fuzz-regexp: Fuzz_lexerNextToken | |
fuzz-parser-test: | |
name: Fuzz parser test | |
runs-on: ubuntu-latest | |
steps: | |
# commit hash == v1.2.0 | |
- uses: jidicula/go-fuzz-action@4f24eed45b25214f31a9fe035ca68ea2c88c6a13 # TSCCR: no entry for action: "jidicula/go-fuzz-action" | |
with: | |
fuzz-time: 30s | |
fuzz-regexp: Fuzz_parserParse | |
fuzz-mql-Parse-test: | |
name: Fuzz mql.Parse test | |
runs-on: ubuntu-latest | |
steps: | |
# commit hash == v1.2.0 | |
- uses: jidicula/go-fuzz-action@4f24eed45b25214f31a9fe035ca68ea2c88c6a13 # TSCCR: no entry for action: "jidicula/go-fuzz-action" | |
with: | |
fuzz-time: 30s | |
fuzz-regexp: Fuzz_mqlParse |