We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43bb1be commit 8471c74Copy full SHA for 8471c74
.github/workflows/go.yml
@@ -0,0 +1,25 @@
1
+name: Go
2
+on: [push]
3
+
4
+jobs:
5
+ test:
6
+ runs-on: ubuntu-latest
7
+ strategy:
8
+ matrix:
9
+ go-version: [ '1.15.x', 'stable' ]
10
+ defaults:
11
+ run:
12
+ working-directory: ./go
13
+ steps:
14
+ - uses: actions/checkout@v4
15
+ - name: Setup Go ${{ matrix.go-version }}
16
+ uses: actions/setup-go@v5
17
+ with:
18
+ go-version: ${{ matrix.go-version }}
19
+ cache-dependency-path: ./go/go.sum
20
+ - name: Display Go version
21
+ run: go version
22
+ - name: Download dependencies
23
+ run: go mod download
24
+ - name: Test with Go
25
+ run: go test -v -cover ./...
0 commit comments