Skip to content

ci: Extend go-version with 1.21.x (#479) #164

ci: Extend go-version with 1.21.x (#479)

ci: Extend go-version with 1.21.x (#479) #164

Workflow file for this run

name: ci
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go-version:
- stable
- 1.21.x
- 1.20.x
- 1.19.x
- 1.18.x
- 1.17.x
- 1.16.x
- 1.15.x
- 1.14.x
- 1.13.x
- 1.12.x
- 1.11.x
steps:
- uses: actions/checkout@v3
- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Test
run: |
go vet ./...
go test -tags CI -race ./...
env:
GOPATH: /home/runner/go