We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f30a5ac + 33041cc commit fc25928Copy full SHA for fc25928
.github/workflows/build.yaml
@@ -0,0 +1,35 @@
1
+name: Build
2
+
3
+on:
4
+ push:
5
+ branches: [ master ]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
+ env:
12
+ GO111MODULE: on
13
14
+ # Intentionally use 18.04 instead of "latest" to
15
+ # make this build reproducible.
16
+ runs-on: ubuntu-18.04
17
18
+ strategy:
19
+ matrix:
20
+ go: ['1.11', '1.12', '1.13', '1.14']
21
+ name: Go ${{ matrix.go }}
22
23
+ steps:
24
+ - uses: actions/checkout@v2
25
+ with:
26
+ # Assuming that there are at most 20 commits in a single pull
27
+ # request, we want to check all commits in a pull request have DCO.
28
+ fetch-depth: 20
29
+ - uses: actions/setup-go@v1
30
31
+ go-version: ${{ matrix.go }}
32
+ - run: make deps
33
+ - run: make
34
+ - run: make lint
35
+ - run: make test
0 commit comments