diff --git a/.github/workflows/govuln.yaml b/.github/workflows/govuln.yaml index 2a0d9df4..63fba2f9 100644 --- a/.github/workflows/govuln.yaml +++ b/.github/workflows/govuln.yaml @@ -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 ./... diff --git a/.github/workflows/static-analysis.yaml b/.github/workflows/static-analysis.yaml index b5fdb65a..4b9eb098 100644 --- a/.github/workflows/static-analysis.yaml +++ b/.github/workflows/static-analysis.yaml @@ -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: diff --git a/.github/workflows/test_amd64.yaml b/.github/workflows/test_amd64.yaml index c6476a68..7a6a813e 100644 --- a/.github/workflows/test_amd64.yaml +++ b/.github/workflows/test_amd64.yaml @@ -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 \ No newline at end of file diff --git a/.github/workflows/test_template.yaml b/.github/workflows/test_template.yaml index 9bce0b5d..b49af794 100644 --- a/.github/workflows/test_template.yaml +++ b/.github/workflows/test_template.yaml @@ -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: | diff --git a/go.mod b/go.mod index f8e20983..3c3af3e7 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module go.etcd.io/raft/v3 -go 1.21 +go 1.22 require ( github.com/cockroachdb/datadriven v1.0.2 diff --git a/tools/mod/go.mod b/tools/mod/go.mod index c5e668c9..3ec76e2e 100644 --- a/tools/mod/go.mod +++ b/tools/mod/go.mod @@ -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