ci: use go1.21 for coverage and non-linux tests #278
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push, pull_request] | |
name: Tests-linux | |
jobs: | |
test: | |
strategy: | |
matrix: | |
go-version: [1.19.x, 1.20.x, 1.21.x] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: go mod tidy check | |
run: .github/scripts/modtidy-check.sh | |
- name: Tests | |
run: go test -race -shuffle=on ./... |