summaryrefslogtreecommitdiff
path: root/.github/workflows/cross-build.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/cross-build.yml')
-rw-r--r--.github/workflows/cross-build.yml10
1 files changed, 9 insertions, 1 deletions
diff --git a/.github/workflows/cross-build.yml b/.github/workflows/cross-build.yml
index 04c1d29..3ac9548 100644
--- a/.github/workflows/cross-build.yml
+++ b/.github/workflows/cross-build.yml
@@ -17,13 +17,21 @@ jobs:
matrix:
goos: ['android', 'linux', 'solaris', 'illumos', 'dragonfly', 'freebsd', 'openbsd', 'plan9', 'windows', 'darwin', 'netbsd']
go: [ '1.18' ]
+
+ include:
+ # Set the minimum Go patch version for the given Go minor
+ # Usable via ${{ matrix.GO_SEMVER }}
+ - go: '1.18'
+ GO_SEMVER: '~1.18.1'
+
runs-on: ubuntu-latest
continue-on-error: true
steps:
- name: Install Go
uses: actions/setup-go@v3
with:
- go-version: ${{ matrix.go }}
+ go-version: ${{ matrix.GO_SEMVER }}
+ check-latest: true
- name: Print Go version and environment
id: vars