We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8668461 commit 85d2ad3Copy full SHA for 85d2ad3
1 file changed
.github/workflows/test.yaml
@@ -0,0 +1,34 @@
1
+name: Test
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
9
10
11
+jobs:
12
+ test:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - name: Checkout
16
+ uses: actions/checkout@v4
17
18
+ - name: Set up Go
19
+ uses: actions/setup-go@v5
20
+ with:
21
+ go-version-file: go.mod
22
+ cache: true
23
24
+ - name: Download dependencies
25
+ run: go mod download
26
27
+ - name: Run tests
28
+ run: go test -v -race -coverprofile=coverage.out ./...
29
30
+ - name: Upload coverage
31
+ uses: actions/upload-artifact@v4
32
33
+ name: coverage
34
+ path: coverage.out
0 commit comments