Skip to content

1. Upgrading the Minimum Go Version #8

1. Upgrading the Minimum Go Version

1. Upgrading the Minimum Go Version #8

Workflow file for this run

name: test Go using version matrix
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
go: ["1.20.x", "1.21.x"]
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
check-latest: true
- name: Test
run: go test -v -race ./...