Skip to content

Fix build constraints for OSes other than Linux #138

Fix build constraints for OSes other than Linux

Fix build constraints for OSes other than Linux #138

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
include:
- os: windows-latest
shell: bash
- os: macos-latest
shell: bash
runs-on: ${{ matrix.os }}
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: go.mod
- name: Test
run: |
go test -v ./...