Skip to content

Commit 7a3b0d2

Browse files
authored
Create github action to build & test
1 parent 8b280c0 commit 7a3b0d2

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/build-test.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Build & Test
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: macos-latest
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
- name: Build
17+
run: swift build -v
18+
- name: Run tests
19+
run: swift test -v

0 commit comments

Comments
 (0)