summaryrefslogtreecommitdiff
path: root/.github/workflows/release.yml
diff options
context:
space:
mode:
authorFrancis Lavoie <lavofr@gmail.com>2022-04-13 16:03:38 -0400
committerGitHub <noreply@github.com>2022-04-13 14:03:38 -0600
commitc3a82f53d558b44603a0b26fc256e6c011a11650 (patch)
treec7704cdfcdf87378068760a4905c3d6d58c3323c /.github/workflows/release.yml
parent30b6d1f47a35d00fca7cff0daa2ff59a98c5a85e (diff)
ci: Ensure we always check for latest version of Go (#4703)
* ci: Ensure we always check for latest version of Go * Try to force 1.18.1, 1.17.9 * Use includes for the actual go semver * Use `~` for semver here, apparently * Try to make tests still run on 1.18.0 for Mac, for now
Diffstat (limited to '.github/workflows/release.yml')
-rw-r--r--.github/workflows/release.yml10
1 files changed, 9 insertions, 1 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 68e231d..6d0fe7c 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -12,13 +12,21 @@ jobs:
matrix:
os: [ ubuntu-latest ]
go: [ '1.18' ]
+
+ include:
+ # Set the minimum Go patch version for the given Go minor
+ # Usable via ${{ matrix.GO_SEMVER }}
+ - go: '1.17'
+ GO_SEMVER: '~1.18.1'
+
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v3
with:
- go-version: ${{ matrix.go }}
+ go-version: ${{ matrix.GO_SEMVER }}
+ check-latest: true
- name: Checkout code
uses: actions/checkout@v3