Debian Codegraph @

.github/workflows/go-test.yml

raw
1 name: unit tests
2
3 on:
4 pull_request:
5 push:
6 branches: [master]
7
8 jobs:
9
10 build:
11 runs-on: ubuntu-latest
12
13 strategy:
14 matrix:
15 go:
16 - '1.8'
17 - '1.9.x'
18 - '1.10.x'
19 - '1.11.x'
20 - '1.12.x'
21 - '1.13.x'
22 - '1.14.x'
23 - '1.15.x'
24
25 name: Go ${{ matrix.go }}
26 steps:
27 - name: Set up Go ${{ matrix.go }}
28 uses: actions/setup-go@v1
29 with:
30 go-version: ${{ matrix.go }}
31 id: go
32
33 - name: Check out code into the Go module directory
34 uses: actions/checkout@v1
35
36 - name: Test
37 run: go test ./... -v