Debian Codegraph @

.github/workflows/main.yml

raw
1 name: Test
2
3 on:
4 push:
5 branches: ["main"]
6 pull_request:
7 branches: ["main"]
8
9 jobs:
10 test:
11 runs-on: ubuntu-latest
12 steps:
13 - uses: actions/checkout@v3
14 - uses: actions/setup-go@v4
15 with:
16 go-version: 1.22.0
17 - name: Test
18 run: go test -timeout 30s -race -v ./... -coverprofile ./coverage.txt
19 - name: Upload coverage reports to Codecov
20 uses: codecov/[email protected]
21 with:
22 token: ${{ secrets.CODECOV_TOKEN }}
23 slug: creativecreature/sturdyc