We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b88ce7 commit 4445570Copy full SHA for 4445570
.github/workflows/go.yml
@@ -0,0 +1,24 @@
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', '1.21.x' ]
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
+ - name: Display Go version
20
+ run: go version
21
+ - name: Download dependencies
22
+ run: go mod download
23
+ - name: Test with Go
24
+ run: go test -v -cover ./...
0 commit comments