Switch windows tests from Appveyor to Github Actions (#611)

* Run unit tests on win in gha
* Decomissions appveyor 🫡
This commit is contained in:
Dan Sosedoff
2022-12-07 22:17:19 -06:00
committed by GitHub
parent d08dbf34aa
commit dc2b8f7c5e
2 changed files with 16 additions and 30 deletions

View File

@@ -47,6 +47,22 @@ jobs:
PGPASSWORD: postgres
PGDATABASE: booktown
tests-windows:
runs-on: windows-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
- run: go mod download
- run: make test
env:
CGO_ENABLED: 1
lint:
runs-on: ubuntu-latest
timeout-minutes: 10