Skip to content

Commit f34e0a1

Browse files
committed
chore: add ci workflow
1 parent 17d4736 commit f34e0a1

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
go-tests:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
15+
16+
- name: Set up Go
17+
uses: actions/setup-go@v4
18+
id: go
19+
with:
20+
go-version: 1.19
21+
22+
- run: go mod download
23+
- run: go test ./...

0 commit comments

Comments
 (0)