Skip to content

Commit c7ca31b

Browse files
ci: added ci workflow
1 parent 3b8a45e commit c7ca31b

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- name: Checkout source
11+
uses: actions/checkout@v4
12+
13+
- name: Set up Go
14+
uses: actions/setup-go@v6
15+
with:
16+
go-version: '1.24'
17+
18+
- name: Install dependencies
19+
run: go mod tidy
20+
21+
- name: Build
22+
run: go build ./...
23+
24+
- name: Test
25+
run: go test -v ./...

0 commit comments

Comments
 (0)