We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bdfdc74 + d8a9e43 commit 935fbb8Copy full SHA for 935fbb8
.github/workflows/ci.yml
@@ -0,0 +1,29 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: [ master, feature/* ]
6
+ pull_request:
7
+ branches: [ master ]
8
9
+jobs:
10
+ build-and-test:
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - name: Checkout repository
15
+ uses: actions/checkout@v4
16
17
+ - name: Set up Go
18
+ uses: actions/setup-go@v5
19
+ with:
20
+ go-version: '1.20'
21
22
+ - name: Install dependencies
23
+ run: go mod tidy
24
25
+ - name: Run unit tests
26
+ run: go test ./...
27
28
+ - name: Build project
29
+ run: go build ./...
0 commit comments