Skip to content

chore: use go 1.21 everywhere and test 1.22 #127

chore: use go 1.21 everywhere and test 1.22

chore: use go 1.21 everywhere and test 1.22 #127

Workflow file for this run

name: go-test
on:
push:
tags:
- v*
branches:
- main
pull_request:
jobs:
go-test:
name: go-test
strategy:
matrix:
go-version: [1.21.x, 1.22.x]
# XXX: is it actually useful to run unit tests on macOS?
platform: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: go-test
run: go test ./...