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 8d19cce commit 02b3c82Copy full SHA for 02b3c82
.github/workflows/go.yml
@@ -0,0 +1,33 @@
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: [ "main" ]
9
+ pull_request:
10
11
+ workflow_dispatch:
12
13
+jobs:
14
15
+ build:
16
+ runs-on: ubuntu-latest
17
+ steps:
18
+ - uses: actions/checkout@v4
19
20
+ - name: Set up Go
21
+ uses: actions/setup-go@v5
22
+ with:
23
+ go-version: 'stable'
24
+ - run: go version
25
26
+ - name: Build
27
+ run: go build -v ./...
28
29
+ - name: Test
30
+ run: go test -v ./...
31
32
+ - name: Update coverage report
33
+ uses: ncruces/go-coverage-report@main
0 commit comments