Skip to content

ci/go: bump Go version from 1.19 to 1.21 due to 1.19 support has alre… #134

ci/go: bump Go version from 1.19 to 1.21 due to 1.19 support has alre…

ci/go: bump Go version from 1.19 to 1.21 due to 1.19 support has alre… #134

Workflow file for this run

name: Test Go
on: [push]
jobs:
build:
strategy:
matrix:
go-version: ["1.19", "1.20", "1.21"]
os: [macos-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...