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 616373e commit ff726c9Copy full SHA for ff726c9
.github/workflows/ci.yml
@@ -0,0 +1,30 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: [ main, master ]
6
+ pull_request:
7
8
+jobs:
9
+ build-test:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Checkout
13
+ uses: actions/checkout@v4
14
15
+ - name: Setup Go
16
+ uses: actions/setup-go@v5
17
+ with:
18
+ go-version: '1.22.x'
19
+ cache: false
20
21
+ - name: Verify Go environment
22
+ run: |
23
+ go version
24
+ go env
25
26
+ - name: Build
27
+ run: go build ./...
28
29
+ - name: Test
30
+ run: go test -v ./...
.github/workflows/go.yml
0 commit comments