Skip to content

Commit 19f817c

Browse files
committed
build: Test against Go 1.24
1 parent 3520d4f commit 19f817c

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/go.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
go: ["1.22", "1.23"]
12+
go: ["1.23", "1.24"]
1313
steps:
1414
- name: Check out source
15-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
15+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.2.2
1616
- name: Set up Go
17-
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
17+
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
1818
with:
1919
go-version: ${{ matrix.go }}
2020
- 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"
2222
- name: Build
2323
run: go build ./...
2424
- name: Lint

.golangci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ linters:
77
- asciicheck
88
- bidichk
99
- bodyclose
10+
- copyloopvar
1011
- dupword
1112
- durationcheck
1213
- errchkjson
1314
- errorlint
14-
- exportloopref
1515
- gofmt
1616
- goimports
1717
- gosimple
@@ -27,3 +27,4 @@ linters:
2727
- typecheck
2828
- unconvert
2929
- unused
30+
- usetesting

0 commit comments

Comments
 (0)