Skip to content

Commit 460c405

Browse files
authored
Merge pull request #160 from dusk125/upgrade-go1.22
Migrate to go1.22
2 parents 0d3c806 + c1f559b commit 460c405

File tree

6 files changed

+10
-6
lines changed

6 files changed

+10
-6
lines changed

.github/workflows/govuln.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ jobs:
77
- uses: actions/checkout@v4
88
- uses: actions/setup-go@v5
99
with:
10-
go-version: "1.21.6"
10+
go-version: "1.22.1"
1111
- run: date
1212
- run: go install golang.org/x/vuln/cmd/govulncheck@latest && govulncheck ./...

.github/workflows/static-analysis.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
- uses: actions/checkout@v4
88
- uses: actions/setup-go@v5
99
with:
10-
go-version: "1.21.6"
10+
go-version: "1.22.1"
1111
- name: golangci-lint
1212
uses: golangci/golangci-lint-action@v4
1313
with:

.github/workflows/test_amd64.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ jobs:
2222
run: echo "goversion=$(cat .go-version)" >> "$GITHUB_OUTPUT"
2323
- uses: actions/setup-go@v5
2424
with:
25-
go-version: "1.21.6"
25+
go-version: "1.22.1"
2626
- run: make test

.github/workflows/test_template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- uses: actions/checkout@v4
2424
- uses: actions/setup-go@v5
2525
with:
26-
go-version: "1.21.6"
26+
go-version: "1.22.1"
2727
- env:
2828
TARGET: ${{ matrix.target }}
2929
run: |

go.mod

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
module go.etcd.io/raft/v3
22

3-
go 1.21
3+
go 1.22
4+
5+
toolchain go1.22.1
46

57
require (
68
github.com/cockroachdb/datadriven v1.0.2

tools/mod/go.mod

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
module go.etcd.io/raft/tools/v3
22

3-
go 1.21
3+
go 1.22
4+
5+
toolchain go1.22.1
46

57
require (
68
github.com/alexkohler/nakedret v1.0.0

0 commit comments

Comments
 (0)