Skip to content

.github/test.yml: Only test for supported Go versions (#10) #29

.github/test.yml: Only test for supported Go versions (#10)

.github/test.yml: Only test for supported Go versions (#10) #29

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [oldstable, stable]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: go vet
run: go vet ./...
- name: go test
run: go test -v ./...