Skip to content

build: shift to the supported go versions (1.20 and 1.21) #282

build: shift to the supported go versions (1.20 and 1.21)

build: shift to the supported go versions (1.20 and 1.21) #282

Workflow file for this run

name: Test
on:
workflow_dispatch:
pull_request:
types: [opened, edited, synchronize, reopened]
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go-version:
- 1.20.x
- 1.21.x
steps:
- name: Checkout code
uses: actions/[email protected]
- name: Set up Go
uses: actions/[email protected]
with:
go-version: ${{ matrix.go-version }}
cache: true
cache-dependency-path: '**/go.sum'
- name: Run tests
run: go test -race ./...