Debian Codegraph @

.github/workflows/gotest.yml

raw symbols SCIP
1 name: Test
2
3 on:
4 push:
5 branches: [ main ]
6 pull_request:
7 branches: [ main ]
8
9 jobs:
10 all:
11 runs-on: ubuntu-latest
12 strategy:
13 matrix:
14 go-version: ['1.20', '1.21', '1.22', '1.23', '1.24', '1.25']
15 steps:
16 - name: Check out code
17 uses: actions/checkout@v6
18
19 - name: Set up Go
20 uses: actions/setup-go@v6
21 with:
22 go-version: ${{ matrix.go-version }}
23 cache: true
24
25 - name: Run test
26 run: go test ./... -race -short