We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7be3f80 commit 2bca629Copy full SHA for 2bca629
.github/workflows/pr.yml
@@ -0,0 +1,38 @@
1
+name: Build and Test
2
+on:
3
+ push:
4
+ branches:
5
+ - master
6
+ pull_request: {}
7
+
8
+permissions:
9
+ contents: read
10
11
+jobs:
12
+ unit:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - name: Checkout
16
+ uses: actions/checkout@v4
17
18
+ - name: Setup Go
19
+ uses: actions/setup-go@v5
20
+ with:
21
+ go-version-file: 'go.mod'
22
23
+ - name: Unit Test
24
+ run: go test ./pkg/... -cover -tags=test
25
26
+ ci:
27
28
+ env:
29
+ ARCH: amd64
30
31
32
33
34
+ - name: Build binary
35
+ run: make build
36
37
+ - name: Validate
38
+ run: make validate
0 commit comments