Skip to content

Enable golangci-lint and go unit test github actions #31

Enable golangci-lint and go unit test github actions

Enable golangci-lint and go unit test github actions #31

Workflow file for this run

name: Go unit tests
on:
pull_request:
paths:
- '**.go'
- go.mod
- go.sum
- Makefile
jobs:
unit-test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
check-latest: true
- name: Test
run: go test -v ./...