Skip to content

github: Update test workflow (#5) #11

github: Update test workflow (#5)

github: Update test workflow (#5) #11

Workflow file for this run

name: Go
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
strategy:
matrix:
go: ['1.21', '1.22', '1']
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
id: go
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...