Skip to content

github: Update test workflow #157

github: Update test workflow

github: Update test workflow #157

Workflow file for this run

name: Go
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
strategy:
matrix:
go: ['1.21', '1.22']
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