Skip to content

Commit

Permalink
Migrate to go1.22
Browse files Browse the repository at this point in the history
Signed-off-by: Allen Ray <[email protected]>
  • Loading branch information
dusk125 committed Feb 7, 2024
1 parent 5963780 commit 947ca52
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/govuln.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.21.6"
go-version: "1.22.0"
- run: date
- run: go install golang.org/x/vuln/cmd/govulncheck@latest && govulncheck ./...
2 changes: 1 addition & 1 deletion .github/workflows/static-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.21.6"
go-version: "1.22.0"
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_amd64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ jobs:
run: echo "goversion=$(cat .go-version)" >> "$GITHUB_OUTPUT"
- uses: actions/setup-go@v5
with:
go-version: "1.21.6"
go-version: "1.22.0"
- run: make test
2 changes: 1 addition & 1 deletion .github/workflows/test_template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.21.6"
go-version: "1.22.0"
- env:
TARGET: ${{ matrix.target }}
run: |
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module go.etcd.io/raft/v3

go 1.21
go 1.22

require (
github.com/cockroachdb/datadriven v1.0.2
Expand Down
2 changes: 1 addition & 1 deletion tools/mod/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module go.etcd.io/raft/tools/v3

go 1.21
go 1.22

require (
github.com/alexkohler/nakedret v1.0.0
Expand Down

0 comments on commit 947ca52

Please sign in to comment.