Merge pull request #1 from cneill/new_master #13
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: Test and lint | |
on: [push] | |
jobs: | |
test-and-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repo | |
uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "1.21" | |
- name: Build | |
run: go build -v ./... | |
- name: Test | |
run: go test -v ./... | |
- name: FuzzParser | |
run: go test -v -fuzztime 60s -fuzz "FuzzParser" | |
- name: FuzzGetGoName | |
run: go test -v -fuzztime 60s -fuzz "FuzzGetGoName" | |
- name: Run golangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: latest |