File tree Expand file tree Collapse file tree 2 files changed +6
-28
lines changed
Expand file tree Collapse file tree 2 files changed +6
-28
lines changed Original file line number Diff line number Diff line change 1- # This workflow will build a golang project
2- # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
3-
4- name : Go
1+ name : Verify
52
63on :
74 push :
@@ -14,15 +11,18 @@ jobs:
1411 - uses : actions/checkout@v4
1512
1613 - name : Set up Go
17- uses : actions/setup-go@v4
14+ uses : actions/setup-go@v5
1815 with :
19- go-version : " 1.22 "
16+ go-version-file : ' go.mod '
2017
2118 - name : Build
2219 run : go build -v ./...
2320
2421 - name : Test
2522 run : go test ./...
2623
24+ - name : Lint
25+ uses : golangci/golangci-lint-action@v7
26+
2727 - name : Fuzz
2828 run : mkdir -p testdata && go test -fuzz=FuzzParse -fuzztime 60s && go test -fuzz=FuzzTokenize -fuzztime 60s
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments