We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e206c18 commit 2c740feCopy full SHA for 2c740fe
.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: golaf tests
5
6
+on:
7
+ push:
8
+ branches: [ "master" ]
9
+ pull_request:
10
11
12
+jobs:
13
14
+ build:
15
+ runs-on: ${{ matrix.config.os }}
16
+ strategy:
17
+ matrix:
18
+ config:
19
+ - os: ubuntu-latest
20
+ - os: macos-latest
21
+ - os: windows-latest
22
+ steps:
23
+ - uses: actions/checkout@v3
24
25
+ - name: Set up Go
26
+ uses: actions/setup-go@v4
27
+ with:
28
+ go-version: '1.20'
29
30
+ - name: Build
31
+ run: go build -v ./...
32
33
+ - name: Go Tests
34
+ run: go test -v ./...
35
+ - name: CLI test
36
+ shell: bash
37
+ run: cd src; bash test.sh
0 commit comments