We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42ca91d commit 8847d96Copy full SHA for 8847d96
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,35 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
8
9
+jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v4
14
15
+ - name: Set up Go
16
+ uses: actions/setup-go@v5
17
+ with:
18
+ go-version: "1.25"
19
20
+ - name: Cache Go modules
21
+ uses: actions/cache@v4
22
23
+ path: ~/go/pkg/mod
24
+ key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
25
+ restore-keys: |
26
+ ${{ runner.os }}-go-
27
28
+ - name: Build
29
+ run: make build
30
31
+ - name: Run unit tests
32
+ run: make test-unit
33
34
+ - name: Run integration tests
35
+ run: make test-integration
0 commit comments