We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5149ec commit 80dcbefCopy full SHA for 80dcbef
.github/workflows/test.yml
@@ -0,0 +1,24 @@
1
+name: Test
2
+on: [push,pull_request]
3
+
4
+jobs:
5
+ test:
6
+ runs-on: ubuntu-latest
7
+ strategy:
8
+ matrix:
9
+ go: [1.11]
10
+ make_target: [test, testacc, vet, website-test]
11
+ steps:
12
+ - uses: actions/checkout@v1
13
+ - uses: actions/setup-go@v1
14
+ with:
15
+ go-version: "${{ matrix.go }}"
16
+ - run: bash scripts/license.sh
17
+ if: matrix.make_target == 'testacc'
18
+ - run: bash scripts/start-gitlab.sh
19
20
+ - run: |
21
+ export MAKE_TARGET=${{ matrix.make_target }}
22
+ export GOFLAGS=-mod=vendor
23
+ export GO111MODULE=on
24
+ make $MAKE_TARGET
0 commit comments