Skip to content

Commit 222e09b

Browse files
committed
add: gh workflow
1 parent 6f26cc4 commit 222e09b

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/ci.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- dev
8+
pull_request:
9+
branches:
10+
- master
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- name: Checkout code
18+
uses: actions/checkout@v3
19+
20+
- name: Set up Go
21+
uses: actions/setup-go@v4
22+
with:
23+
go-version: 1.24
24+
25+
- name: Install dependencies
26+
run: go mod download && go install golang.org/x/lint/golint
27+
28+
- name: Build
29+
run: make
30+

0 commit comments

Comments
 (0)