We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27b7cc4 commit 3baf301Copy full SHA for 3baf301
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,44 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: [ main, develop ]
6
+ pull_request:
7
8
9
+jobs:
10
+ test:
11
+ name: Run Tests
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - name: Checkout code
15
+ uses: actions/checkout@v4
16
17
+ - name: Set up Go
18
+ uses: actions/setup-go@v5
19
+ with:
20
+ go-version: '1.25'
21
+ cache: true
22
23
+ - name: Install dependencies
24
+ run: go mod tidy
25
26
+ - name: Run tests
27
+ run: go test -v ./internal/policy/...
28
29
+ build:
30
+ name: Build Check
31
32
+ needs: test
33
34
35
36
37
38
39
40
41
42
43
+ - name: Build CLI
44
+ run: go build -v -o sandforge ./cmd/sandforge
0 commit comments