Skip to content

Commit ce01662

Browse files
committed
chore: add workflow
1 parent ed5775c commit ce01662

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/test.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Test
2+
3+
on:
4+
pull_request:
5+
branches: [ "main" ]
6+
7+
jobs:
8+
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
14+
- name: Set up Go
15+
uses: actions/setup-go@v5
16+
with:
17+
go-version: '1.23.2'
18+
19+
- name: Build track_syscalls
20+
run: cd track_syscalls && make all
21+
22+
- name: Build test packages
23+
run: cd testpkgs && make build
24+
25+
- name: Run tests
26+
run: cd track_syscalls && sudo go test

0 commit comments

Comments
 (0)