...
1name: ci
2on:
3 push:
4 branches:
5 - "v4"
6 pull_request:
7 branches:
8 - "v4"
9jobs:
10 test:
11 strategy:
12 matrix:
13 os: [ubuntu-latest, macos-latest, windows-latest]
14 go: ["1.15", "1.16", "1.17"]
15 runs-on: ${{ matrix.os }}
16 steps:
17 - uses: actions/checkout@v2
18 - uses: actions/setup-go@v2
19 with:
20 go-version: ${{ matrix.go }}
21 - name: test
22 run: |
23 go test ./... -v
24 go test ./... -v -race
25 go test ./... -v -tags noasm
26 go test ./... -v -race -tags noasm
View as plain text