Skip to content

Commit 769c7d9

Browse files
committed
ci: go linter
1 parent 2af9262 commit 769c7d9

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,14 @@ jobs:
2828
name: Lint
2929
steps:
3030
- uses: actions/checkout@v2
31+
- name: Setup Go
32+
uses: actions/setup-go@v5
33+
with:
34+
go-version-file: go.mod
3135
- name: golangci-lint
32-
uses: golangci/golangci-lint-action@v2
36+
uses: golangci/golangci-lint-action@v6
3337
with:
34-
version: latest
38+
version: v1.64.8
3539
args: --timeout=5m
3640
build:
3741
runs-on: ubuntu-latest

.golangci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
run:
2-
skip-dirs:
1+
issues:
2+
exclude-dirs:
33
- test/

0 commit comments

Comments
 (0)