From 01d64c3e7757df743d6d85de681b750029da3bf2 Mon Sep 17 00:00:00 2001 From: bryan-aguilar <46550959+bryan-aguilar@users.noreply.github.com> Date: Wed, 6 Sep 2023 11:06:58 -0700 Subject: [PATCH] Update go versions used in workflows (#4480) --- .github/workflows/benchmark.yml | 2 +- .github/workflows/ci.yml | 4 ++-- .github/workflows/dependabot.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 9877d7ca989..a9b61f2a9e3 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -4,7 +4,7 @@ on: branches: - main env: - DEFAULT_GO_VERSION: "1.21" + DEFAULT_GO_VERSION: "~1.21.1" jobs: benchmark: name: Benchmarks diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a0dc91bfea2..1758d02712e 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" + DEFAULT_GO_VERSION: "~1.21.1" jobs: lint: runs-on: ubuntu-latest @@ -99,7 +99,7 @@ jobs: compatibility-test: strategy: matrix: - go-version: ["1.21", "1.20", 1.19] + go-version: ["~1.21.1", "~1.20.8", 1.19] 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/dependabot.yml b/.github/workflows/dependabot.yml index 9d4e27a9e6e..550c2e2bbe5 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.0' + go-version: '^1.21.1' - uses: evantorrie/mott-the-tidier@v1-beta id: modtidy with: