Debian Codegraph @

.github/workflows/unit-tests.yml

raw symbols SCIP
1 name: unit-tests
2 on:
3 push:
4 pull_request:
5 branches:
6 - master
7
8 jobs:
9 build:
10 name: Build
11 strategy:
12 matrix:
13 goVer: ["1.16.x", "1.21.x"]
14 platform: [ubuntu-latest]
15 runs-on: ${{ matrix.platform }}
16 steps:
17 - name: Setup Go ${{ matrix.goVer }}
18 uses: actions/setup-go@v1
19 with:
20 go-version: ${{ matrix.goVer }}
21 id: go
22
23 - name: Src Checkout
24 uses: actions/checkout@v1
25 with:
26 fetch-depth: 1
27
28 - name: Tests
29 env:
30 GO111MODULE: "on"
31 GOPROXY: "https://proxy.golang.org"
32 run: go test -v -cpu=1,2 ./...