We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2bbaf01 commit 7efa68eCopy full SHA for 7efa68e
.github/workflows/unit-tests.yaml
@@ -0,0 +1,27 @@
1
+name: Tests
2
+
3
+on:
4
+ pull_request:
5
6
+jobs:
7
+ tests:
8
+ strategy:
9
+ matrix:
10
+ go-version: [1.14.x, 1.15.x]
11
+ platform: [ubuntu-latest]
12
+ runs-on: ${{ matrix.platform }}
13
+ steps:
14
+ - name: Install Go
15
+ uses: actions/setup-go@v1
16
+ with:
17
+ go-version: ${{ matrix.go-version }}
18
+ - name: Checkout
19
+ uses: actions/checkout@v2
20
21
+ fetch-depth: 1
22
+ - name: Build binaries
23
+ run: make build
24
+ - name: Run unit tests
25
+ run: make test
26
+ - name: Check with go vet
27
+ run: make vet
.travis.yml
0 commit comments