Skip to content

Commit 52adc90

Browse files
committed
ci: run go test on every push
1 parent 77070f4 commit 52adc90

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/test.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Go tests
2+
3+
on:
4+
push:
5+
6+
jobs:
7+
test:
8+
runs-on: ubuntu-latest
9+
timeout-minutes: 15
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v6
13+
14+
- name: Set up Go
15+
uses: actions/setup-go@v5
16+
with:
17+
go-version-file: go.mod
18+
cache: true
19+
20+
- name: Run tests
21+
run: go test ./...

0 commit comments

Comments
 (0)