File tree 3 files changed +9
-3
lines changed
3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 16
16
runs-on : ubuntu-20.04
17
17
steps :
18
18
- uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
19
+ - name : Install Go
20
+ uses : actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0
21
+ with :
22
+ go-version : ' 1.21'
23
+ cache : false
19
24
- name : Run golangci-lint
20
25
uses : golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3.7.0
21
26
with :
22
- version : v1.51 .2
27
+ version : v1.55 .2
23
28
only-new-issues : false
24
29
args : --timeout 5m --config .golangci.yml
Original file line number Diff line number Diff line change @@ -39,5 +39,6 @@ linters:
39
39
- tparallel
40
40
- nilerr
41
41
- exhaustruct
42
+ - depguard
42
43
service :
43
- golangci-lint-version : 1.45 .x
44
+ golangci-lint-version : 1.55 .x
Original file line number Diff line number Diff line change @@ -258,7 +258,7 @@ mkcert: ## Download mkcert locally if necessary.
258
258
$(call go-install-tool,$(MKCERT ) ,filippo.io/mkcert@$(MKCERT_VERSION ) )
259
259
260
260
GOLANGCI_LINT = $(shell pwd) /bin/golangci-lint
261
- GOLANGCI_LINT_VERSION = v1.51 .2
261
+ GOLANGCI_LINT_VERSION = v1.55 .2
262
262
golangci-lint : # # Download golangci-lint locally if necessary.
263
263
$(call go-install-tool,$(GOLANGCI_LINT ) ,github.com/golangci/golangci-lint/cmd/golangci-lint@$(GOLANGCI_LINT_VERSION ) )
264
264
You can’t perform that action at this time.
0 commit comments