Skip to content

Add Windows CI

Add Windows CI #125

Workflow file for this run

name: test
on:
push:
branches:
- main
- 'release/**'
pull_request:
jobs:
golangci-lint:
runs-on: ubuntu-20.04
timeout-minutes: 20
steps:
- uses: actions/checkout@v4.2.2
with:
fetch-depth: 1
- uses: actions/setup-go@v5
with:
go-version: 1.18.x
- name: golangci-lint
uses: golangci/golangci-lint-action@v6.1.1
with:
version: v1.45.0
args: --verbose
test-unit:
strategy:
matrix:
os: [ ubuntu-20.04, windows-2022 ]
runs-on: ${{ matrix.os }}
timeout-minutes: 20
steps:
- uses: actions/setup-go@v5
with:
go-version: 1.18.x
- uses: actions/checkout@v4.2.2
with:
fetch-depth: 1
- name: "Run unit tests"
run: go test -v .