We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f86c3d commit b5d96aeCopy full SHA for b5d96ae
1 file changed
.github/workflows/build.yml
@@ -0,0 +1,26 @@
1
+name: Build
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - "*"
7
+ pull_request:
8
9
+ - master
10
11
+jobs:
12
+ test:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - uses: actions/checkout@v4
16
+ - name: Set up Go
17
+ uses: actions/setup-go@v6
18
+ with:
19
+ go-version-file: './go.mod'
20
+ - name: Install gotestsum
21
+ run: |
22
+ go install gotest.tools/gotestsum@latest
23
+ - name: Build
24
+ run: go build -v ./...
25
+ - name: Test
26
+ run: gotestsum --format testname -- -v ./...
0 commit comments