Skip to content

Commit 2ecfb43

Browse files
committed
github: Add workflows/test.yml
1 parent cc3ecec commit 2ecfb43

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
pull_request:
6+
branches:
7+
- main
8+
name: Tests
9+
jobs:
10+
test:
11+
strategy:
12+
matrix:
13+
go-version: ['1.25.x']
14+
os: [ubuntu-latest]
15+
runs-on: ${{ matrix.os }}
16+
steps:
17+
- name: Install Go
18+
uses: actions/setup-go@v6
19+
with:
20+
go-version: ${{ matrix.go-version }}
21+
- name: Checkout code
22+
uses: actions/checkout@v5
23+
- name: Run tests
24+
run: go test -v ./...

0 commit comments

Comments
 (0)