Skip to content

Commit 4445570

Browse files
committed
chore: run tests in CI
1 parent 2b88ce7 commit 4445570

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

Diff for: .github/workflows/go.yml

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

Comments
 (0)