Skip to content

Commit 4ccb035

Browse files
committed
added build and test in action
1 parent 13c726e commit 4ccb035

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: check-for-linter
2+
on:
3+
push:
4+
branches: main
5+
pull_request:
6+
branches: main
7+
8+
jobs:
9+
build:
10+
runs-on: ${{matrix.os}}
11+
12+
strategy:
13+
matrix:
14+
os: [ubuntu-latest, macos-latest]
15+
16+
-name: Checkout code
17+
uses: actions/checkout@v4
18+
19+
-name: Install project
20+
run: make install
21+
22+
-name: Validate files for linter
23+
run: make lint
24+
25+
-name: Run unit tests
26+
run: make test

0 commit comments

Comments
 (0)