Skip to content

Commit 8471c74

Browse files
committed
chore: run tests in CI
1 parent 43bb1be commit 8471c74

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

Diff for: .github/workflows/go.yml

+25
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)