There was an error while loading. Please reload this page.
1 parent fe9f942 commit 2f1ec40Copy full SHA for 2f1ec40
.github/workflows/ci.yml
@@ -0,0 +1,31 @@
1
+name: ci
2
+
3
+on: [push, pull_request]
4
5
+jobs:
6
+ build:
7
+ runs-on: ubuntu-latest
8
+ strategy:
9
+ fail-fast: false
10
+ matrix:
11
+ go-version:
12
+ - 1.17.x
13
+ - 1.16.x
14
+ - 1.15.x
15
+ - 1.14.x
16
+ - 1.13.x
17
+ - 1.12.x
18
+ - 1.11.x
19
+ steps:
20
+ - uses: actions/checkout@v2
21
+ - name: Set up Go ${{ matrix.go-version }}
22
+ uses: actions/setup-go@v2
23
+ with:
24
+ go-version: ${{ matrix.go-version }}
25
26
+ - name: Test
27
+ run: |
28
+ go vet ./...
29
+ go test -tags CI -race ./...
30
+ env:
31
+ GOPATH: /home/runner/go
.travis.yml
0 commit comments