Skip to content

Commit a45829c

Browse files
committed
test workflow
1 parent 0f66c84 commit a45829c

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/test.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
on: [push, pull_request]
2+
name: Test
3+
4+
jobs:
5+
test:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- name: Check out code
9+
uses: actions/checkout@v4
10+
11+
- name: Set up Go
12+
uses: actions/setup-go@v5
13+
with:
14+
go-version-file: "go.mod"
15+
16+
- name: Download dependencies
17+
run: go mod download
18+
19+
- name: Run tests
20+
run: go test -race ./...

0 commit comments

Comments
 (0)