File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 9
9
runs-on : ubuntu-latest
10
10
strategy :
11
11
matrix :
12
- go : ["1.22 ", "1.23 "]
12
+ go : ["1.23 ", "1.24 "]
13
13
steps :
14
14
- name : Check out source
15
- uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
15
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
16
16
- name : Set up Go
17
- uses : actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
17
+ uses : actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
18
18
with :
19
19
go-version : ${{ matrix.go }}
20
20
- name : Install Linters
21
- run : " go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.60.1 "
21
+ run : " go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.64.5 "
22
22
- name : Build
23
23
run : go build ./...
24
24
- name : Lint
Original file line number Diff line number Diff line change @@ -7,11 +7,11 @@ linters:
7
7
- asciicheck
8
8
- bidichk
9
9
- bodyclose
10
+ - copyloopvar
10
11
- dupword
11
12
- durationcheck
12
13
- errchkjson
13
14
- errorlint
14
- - exportloopref
15
15
- gofmt
16
16
- goimports
17
17
- gosimple
@@ -27,3 +27,4 @@ linters:
27
27
- typecheck
28
28
- unconvert
29
29
- unused
30
+ - usetesting
You can’t perform that action at this time.
0 commit comments