Skip to content

fix reported windows errors #41

fix reported windows errors

fix reported windows errors #41

Workflow file for this run

name: Tests
on:
push:
branches:
- main
- develop
pull_request:
types:
- opened
- synchronize
jobs:
test:
name: Tests on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Install dependencies
run: go get .
# - name: Build
# run: CGO_ENABLED=1 go build -ldflags "-linkmode external -extldflags '-static' -s -w" -v ./...
- name: Test with the Go CLI
run: go test
env:
CGO_ENABLED: 1
GODEBUG: cgocheck=2