We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55d0628 commit bff5a9fCopy full SHA for bff5a9f
.github/workflows/go_lint.yml
@@ -25,8 +25,10 @@ jobs:
25
- name: Tidy
26
run: go mod tidy && [ -z "$(git status -s)" ]
27
28
- - name: Lint
29
- run: make lint
+ - name: Golangci-Lint
+ uses: golangci/golangci-lint-action@v4
30
+ with:
31
+ version: v1.54
32
33
- name: Vet
34
run: make vet
Makefile
@@ -1,3 +1,6 @@
1
+install-golangci:
2
+ go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.56.2
3
+
4
tidy:
5
#go install honnef.co/go/tools/cmd/staticcheck@latest
6
go mod tidy
@@ -7,8 +10,6 @@ generate: tidy
7
10
8
11
# Coding style static check.
9
12
lint: tidy
- @go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.56.2
- @go mod tidy
13
golangci-lint run
14
15
vet: tidy
0 commit comments