We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4f9f7a commit cc24411Copy full SHA for cc24411
.github/workflows/ci.yml
@@ -9,14 +9,17 @@ jobs:
9
name: Test
10
strategy:
11
matrix:
12
- go: ['1.20', '1.19', '1.18', '1.17']
+ go: ["1.20", "1.19", "1.18", "1.17"]
13
platform: [ubuntu-latest] # can not run in windows OS
14
+ cgo: ["0", "1"]
15
runs-on: ubuntu-latest
16
steps:
- - name: Set up Go
17
- uses: actions/setup-go@v4
18
- with:
19
- go-version: ${{ matrix.go }}
20
- - uses: actions/checkout@v3
21
- - name: Test
22
- run: go test -v -cover .
+ - name: Set up Go
+ uses: actions/setup-go@v4
+ with:
+ go-version: ${{ matrix.go }}
+ - uses: actions/checkout@v3
+ - name: Test
23
+ env:
24
+ CGO_ENABLED: ${{ matrix.cgo }}
25
+ run: go test -v -cover .
0 commit comments