From 86deb8c66cefa5035b9d787fff9bf1941135c15c Mon Sep 17 00:00:00 2001 From: Allen Ray Date: Wed, 13 Sep 2023 11:11:44 -0400 Subject: [PATCH] Update to go1.21.1 Signed-off-by: Allen Ray --- .github/workflows/govuln.yaml | 2 +- .github/workflows/static-analysis.yaml | 2 +- .github/workflows/test.yaml | 2 +- go.mod | 2 +- tools/mod/go.mod | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/govuln.yaml b/.github/workflows/govuln.yaml index bf67ae27..4c0bcbe0 100644 --- a/.github/workflows/govuln.yaml +++ b/.github/workflows/govuln.yaml @@ -7,6 +7,6 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: - go-version: "1.20.7" + go-version: "1.21.1" - 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 82a2593f..ffe65514 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@v4 with: - go-version: "1.20.7" + go-version: "1.21.1" - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 6e26e751..a2ee3efe 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: - go-version: "1.20.7" + go-version: "1.21.1" - env: TARGET: ${{ matrix.target }} run: | diff --git a/go.mod b/go.mod index 0109d643..f8e20983 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module go.etcd.io/raft/v3 -go 1.20 +go 1.21 require ( github.com/cockroachdb/datadriven v1.0.2 diff --git a/tools/mod/go.mod b/tools/mod/go.mod index 30756669..166665d2 100644 --- a/tools/mod/go.mod +++ b/tools/mod/go.mod @@ -1,6 +1,6 @@ module go.etcd.io/raft/tools/v3 -go 1.20 +go 1.21 require ( github.com/alexkohler/nakedret v1.0.0