Skip to content

github: Update test workflow #159

github: Update test workflow

github: Update test workflow #159

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@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Build
run: go build -v ./...
- name: Vet
run: go vet ./...
- name: Test
run: ./test.sh