We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b48d7a commit b55b9f7Copy full SHA for b55b9f7
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,29 @@
1
+name: Go CI
2
+
3
+on:
4
+ push:
5
+ branches: [ "main" ]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - name: Checkout code
15
+ uses: actions/checkout@v3
16
17
+ - name: Set up Go
18
+ uses: actions/setup-go@v4
19
+ with:
20
+ go-version: "1.18"
21
22
+ - name: Install dependencies
23
+ run: go mod tidy
24
25
+ - name: Build
26
+ run: go build ./...
27
28
+ - name: Run tests
29
+ run: go test ./... -v
0 commit comments