Compare commits

...

1 Commits

Author SHA1 Message Date
Michael B. Gale
3a3ee29905 Go CI: test multiple Go versions 2023-09-20 10:35:58 +01:00

View File

@@ -15,17 +15,21 @@ on:
- .github/workflows/go-tests.yml
- .github/actions/**
- codeql-workspace.yml
env:
GO_VERSION: '~1.21.0'
jobs:
test-linux:
name: Test Linux (Ubuntu)
runs-on: ubuntu-latest-xl
strategy:
fail-fast: false
matrix:
go-version:
- '~1.21.0'
- '~1.20'
steps:
- name: Set up Go ${{ env.GO_VERSION }}
- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
go-version: ${{ matrix.go-version }}
id: go
- name: Check out code