Debian Codegraph @

.github/workflows/tests.yml

raw symbols SCIP
1 name: tests
2
3 on:
4 push:
5 pull_request:
6
7 permissions:
8 contents: read
9
10 jobs:
11 run-tests:
12 strategy:
13 matrix:
14 go: ['1.21', '1.20', '1.19']
15 platform: [ubuntu-latest]
16 runs-on: ubuntu-latest
17
18 steps:
19 - name: Set up Go 1.x
20 uses: actions/setup-go@v4
21 with:
22 go-version: ${{ matrix.go }}
23
24 - name: Check out code into the Go module directory
25 uses: actions/checkout@v4
26
27 # Run build of the application
28 - name: Run build
29 run: go build .
30
31 - name: Run tests
32 run: go test -race -count=1 -v ./...