Skip to content

Use go 1.21.6

Use go 1.21.6 #1348

Workflow file for this run

name: Go unit tests
on:
pull_request:
paths:
- '**.go'
- go.mod
- go.sum
- Makefile
jobs:
unit-test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
check-latest: true
- name: Test
run: go test -v ./...
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
check-latest: true
- name: Verify all binaries can be built
run: make build-all