From 81b4e573616251f1f553240764847c7123b86b0f Mon Sep 17 00:00:00 2001 From: David Ashpole Date: Wed, 11 Oct 2023 20:01:34 +0000 Subject: [PATCH 1/2] update go version to v1.21.3/1.20.10 for CI --- .github/workflows/benchmark.yml | 2 +- .github/workflows/ci.yml | 4 ++-- .github/workflows/create-dependabot-pr.yml | 2 +- .github/workflows/dependabot.yml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 6d546b9b49c..8b5e9183f19 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -4,7 +4,7 @@ on: branches: - main env: - DEFAULT_GO_VERSION: "~1.21.1" + DEFAULT_GO_VERSION: "~1.21.3" jobs: benchmark: name: Benchmarks diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 30b8e1250bd..cfe8eaf5149 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ env: # backwards compatibility with the previous two minor releases and we # explicitly test our code for these versions so keeping this at prior # versions does not add value. - DEFAULT_GO_VERSION: "~1.21.1" + DEFAULT_GO_VERSION: "~1.21.3" jobs: lint: runs-on: ubuntu-latest @@ -99,7 +99,7 @@ jobs: compatibility-test: strategy: matrix: - go-version: ["~1.21.1", "~1.20.8"] + go-version: ["~1.21.3", "~1.20.10"] os: [ubuntu-latest, macos-latest, windows-latest] # GitHub Actions does not support arm* architectures on default # runners. It is possible to accomplish this with a self-hosted runner diff --git a/.github/workflows/create-dependabot-pr.yml b/.github/workflows/create-dependabot-pr.yml index f054eec1e71..848a92400b4 100644 --- a/.github/workflows/create-dependabot-pr.yml +++ b/.github/workflows/create-dependabot-pr.yml @@ -10,7 +10,7 @@ jobs: - name: Install Go uses: actions/setup-go@v4 with: - go-version: "~1.21.1" + go-version: "~1.21.3" - uses: actions/checkout@v4 diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml index e040ce1a3ae..e9a4dd58d88 100644 --- a/.github/workflows/dependabot.yml +++ b/.github/workflows/dependabot.yml @@ -13,7 +13,7 @@ jobs: ref: ${{ github.head_ref }} - uses: actions/setup-go@v4 with: - go-version: '^1.21.1' + go-version: '^1.21.3' - uses: evantorrie/mott-the-tidier@v1-beta id: modtidy with: From cecbe2ccf13b5e63b87d57c92463bbe1ecb39d8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Paj=C4=85k?= Date: Thu, 12 Oct 2023 08:07:16 +0200 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: Anthony Mirabella --- .github/workflows/dependabot.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml index e9a4dd58d88..6e714196fc7 100644 --- a/.github/workflows/dependabot.yml +++ b/.github/workflows/dependabot.yml @@ -13,7 +13,7 @@ jobs: ref: ${{ github.head_ref }} - uses: actions/setup-go@v4 with: - go-version: '^1.21.3' + go-version: '~1.21.3' - uses: evantorrie/mott-the-tidier@v1-beta id: modtidy with: