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 a282da6 commit c3123d0Copy full SHA for c3123d0
.github/workflows/go.yml
@@ -0,0 +1,28 @@
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
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@v4
21
+ with:
22
+ go-version: '1.21.5'
23
+ - name: Install dependencies
24
+ run: go get .
25
+ - name: Build
26
+ run: go build -v ./...
27
+ - name: Test with the Go CLI
28
+ run: go test
0 commit comments