Debian Codegraph @

.github/workflows/test.yaml

raw symbols SCIP
1 name: "Build and test"
2
3 on:
4 push:
5 branches: [main]
6 pull_request: {}
7 workflow_dispatch: # Sometimes tests get stuck in PRs; This allows them to be rerun manually
8
9 permissions:
10 contents: read
11
12 jobs:
13 test:
14 runs-on: ubuntu-latest
15
16 steps:
17 - uses: actions/checkout@v6
18 - uses: actions/setup-go@v6
19 with:
20 go-version: "1.24.7"
21
22 - name: Build program
23 run: go build ./...
24
25 - name: Run tests
26 run: go test -race ./...