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.
1 parent 4f8ccae commit e5b1e63Copy full SHA for e5b1e63
.github/workflows/test.yml
@@ -0,0 +1,40 @@
1
+name: test
2
+on:
3
+ push:
4
+ tags:
5
+ - v*
6
+ branches:
7
+ - main
8
+ - master
9
+ - release-*
10
+ pull_request:
11
+
12
+jobs:
13
+ test:
14
+ runs-on: ubuntu-20.04
15
+ strategy:
16
+ fail-fast: false
17
+ matrix:
18
+ go-version: [1.15.x, 1.16.x, 1.17.x]
19
20
+ steps:
21
22
+ - name: checkout
23
+ uses: actions/checkout@v2
24
25
+ - name: install deps
26
+ run: |
27
+ sudo apt -q update
28
+ sudo apt -q install libseccomp-dev
29
30
+ - name: install go ${{ matrix.go-version }}
31
+ uses: actions/setup-go@v2
32
+ with:
33
+ stable: '!contains(${{ matrix.go-version }}, "beta") && !contains(${{ matrix.go-version }}, "rc")'
34
+ go-version: ${{ matrix.go-version }}
35
36
+ - name: build
37
+ run: make check-build
38
39
+ - name: test
40
+ run: make test
0 commit comments