mirror of
https://github.com/rwinkhart/go-winio.git
synced 2026-08-28 04:46:50 -04:00
Add in a ^1.17.0 go-version for the actions/setup-go@v2 action. This was set for our build step but not for the step that runs all of the unit tests. Signed-off-by: Daniel Canter <dcanter@microsoft.com>
29 lines
637 B
YAML
29 lines
637 B
YAML
name: CI
|
|
on:
|
|
- push
|
|
- pull_request
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [windows-2019, windows-2022, ubuntu-latest]
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-go@v2
|
|
with:
|
|
go-version: '^1.17.0'
|
|
- run: go test -gcflags=all=-d=checkptr -v ./...
|
|
|
|
build:
|
|
runs-on: 'windows-2019'
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-go@v2
|
|
with:
|
|
go-version: '^1.17.0'
|
|
|
|
- run: go build ./pkg/etw/sample/
|
|
- run: go build ./tools/etw-provider-gen/
|
|
- run: go build ./wim/validate/ |