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 7f92107 commit 30b806cCopy full SHA for 30b806c
.github/workflows/go.yml
@@ -0,0 +1,37 @@
1
+# This workflow will build a golang project
2
+# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
3
+
4
+name: Go
5
6
+on:
7
+ push:
8
+ branches: [ "master" ]
9
+ pull_request:
10
11
12
+jobs:
13
14
+ build:
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - uses: actions/checkout@v4
18
19
+ - name: Set up Go
20
+ uses: actions/setup-go@v5
21
+ with:
22
+ go-version: '1.22.1'
23
24
+ - name: Install dependencies
25
+ run: |
26
+ go get .
27
28
+ - name: Build
29
+ run: go build -v ./...
30
31
+ - name: Test
32
+ run: go test -v ./...
33
34
+ - name: Send coverage
35
+ uses: shogo82148/actions-goveralls@v1
36
37
+ path-to-profile: profile.cov
0 commit comments