Skip to content

.github/test.yml: Only test for supported Go versions #28

.github/test.yml: Only test for supported Go versions

.github/test.yml: Only test for supported Go versions #28

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 ./...