Skip to content

Commit a70c6a4

Browse files
committed
add workflow to run go tests
1 parent 562f425 commit a70c6a4

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/go-tests.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Go Tests
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- "go/**"
7+
8+
jobs:
9+
test:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v3
15+
16+
- name: Setup Go
17+
uses: actions/setup-go@v5
18+
with:
19+
go-version: "1.24"
20+
21+
- name: Run tests
22+
working-directory: go
23+
run: go test ./...

0 commit comments

Comments
 (0)