From c7b3b6ff3e34a9a0c3a23e9f45527e5540a31ee4 Mon Sep 17 00:00:00 2001 From: James Blair Date: Wed, 23 Aug 2023 15:06:59 +1200 Subject: [PATCH] Update to golang 1.20 minor release. Signed-off-by: James Blair --- .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 eba1424f..ae0b3671 100644 --- a/.github/workflows/govuln.yaml +++ b/.github/workflows/govuln.yaml @@ -7,6 +7,6 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: "1.19.12" + go-version: "1.20.7" - 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 15bee504..bb4a5325 100644 --- a/.github/workflows/static-analysis.yaml +++ b/.github/workflows/static-analysis.yaml @@ -7,7 +7,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: "1.19.12" + go-version: "1.20.7" - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index c970b257..7ea5798c 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: "1.19.12" + go-version: "1.20.7" - env: TARGET: ${{ matrix.target }} run: | diff --git a/go.mod b/go.mod index 353ff51d..0109d643 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module go.etcd.io/raft/v3 -go 1.19 +go 1.20 require ( github.com/cockroachdb/datadriven v1.0.2 diff --git a/tools/mod/go.mod b/tools/mod/go.mod index 0710c340..30756669 100644 --- a/tools/mod/go.mod +++ b/tools/mod/go.mod @@ -1,6 +1,6 @@ module go.etcd.io/raft/tools/v3 -go 1.19 +go 1.20 require ( github.com/alexkohler/nakedret v1.0.0