chore: better build with many OS
parent
cd0237299b
commit
af5f331dea
|
@ -12,9 +12,12 @@ jobs:
|
||||||
with:
|
with:
|
||||||
go-version: "~1.16"
|
go-version: "~1.16"
|
||||||
- run: go test -race ./...
|
- run: go test -race ./...
|
||||||
build-gotip:
|
build:
|
||||||
name: Build
|
name: Build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ${{ matrix.os }}
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-go@v2
|
- uses: actions/setup-go@v2
|
||||||
|
|
Loading…
Reference in New Issue