Skip to content

Commit f48dfee

Browse files
committed
add-actions
Signed-off-by: yaacov <[email protected]>
1 parent c8c8500 commit f48dfee

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/pr.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Pull Request CI
2+
3+
on:
4+
pull_request:
5+
branches: [ main ]
6+
push:
7+
branches: [ main ]
8+
9+
jobs:
10+
test:
11+
name: Test v6
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Check out code
16+
uses: actions/checkout@v4
17+
18+
- name: Set up Go
19+
uses: actions/setup-go@v5
20+
with:
21+
go-version: 1.23
22+
cache-dependency-path: v6/go.sum
23+
- name: Install Go tools
24+
working-directory: ./v6
25+
run: make install-tools
26+
27+
- name: Build
28+
working-directory: ./v6
29+
run: make
30+
31+
- name: Lint
32+
working-directory: ./v6
33+
run: make lint
34+
35+
- name: Test
36+
working-directory: ./v6
37+
run: make test

0 commit comments

Comments
 (0)