From b6fc62f4da6f50864e04b800d5ef3326efe76617 Mon Sep 17 00:00:00 2001 From: bryan-aguilar <46550959+bryan-aguilar@users.noreply.github.com> Date: Wed, 6 Sep 2023 18:51:09 -0700 Subject: [PATCH] Update go versions used in workflow (#4278) --- .github/workflows/ci.yml | 4 ++-- .github/workflows/create-dependabot-pr.yml | 2 +- .github/workflows/dependabot.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bfafb8c7778..a3dd1475ffb 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 @@ -117,7 +117,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 acomplish this with a self-hosted runner diff --git a/.github/workflows/create-dependabot-pr.yml b/.github/workflows/create-dependabot-pr.yml index 08c00a9429b..987c990a38e 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' + go-version: '~1.21.1' - uses: actions/checkout@v3 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: