Skip to content

Switch CI to a Go versions matrix #62

Switch CI to a Go versions matrix

Switch CI to a Go versions matrix #62

Workflow file for this run

name: Tests
on:
pull_request:
push:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
go:
- '1.17'
- '1.18'
- '1.19'
- '1.20'
- '1.21'
- '1.22'
- '1.23'
- '1.24'
name: Go ${{ matrix.go }} test
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: ${{ matrix.go }}
-
name: Run tests
run: go test ./...