Skip to content

Commit c35da39

Browse files
committed
Fix workflows
1 parent 14d38a6 commit c35da39

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/build.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,17 @@ jobs:
2222
- name: Build
2323
run: go build -v ./...
2424
- name: Test
25-
run: gotestsum --format testname -- -v ./...
25+
run: gotestsum --format testname -- -v ./...
26+
27+
lint:
28+
runs-on: ubuntu-latest
29+
steps:
30+
- uses: actions/checkout@v4
31+
- name: Set up Go
32+
uses: actions/setup-go@v6
33+
with:
34+
go-version-file: './go.mod'
35+
- name: Install staticcheck
36+
run: go install honnef.co/go/tools/cmd/staticcheck@latest
37+
- name: Run staticcheck
38+
run: staticcheck ./...

0 commit comments

Comments
 (0)