Skip to content

Commit fce9467

Browse files
authored
Add GitHub Actions workflow for Swift 6.1 on macOS
Signed-off-by: Christopher Jr Riley <chrisjr@cjrriley.com>
1 parent ed4ea70 commit fce9467

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/swift-macos.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Build and Test in Swift 6.1 on macOS
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
7+
jobs:
8+
build:
9+
runs-on: macos-latest
10+
11+
steps:
12+
- uses: actions/checkout@v4
13+
14+
- uses: swift-actions/setup-swift@v2
15+
with:
16+
swift-version: "6.1.0"
17+
- name: Get swift version
18+
run: swift --version
19+
20+
- name: Build
21+
run: swift build -v
22+
23+
- name: Run tests
24+
run: swift test -v

0 commit comments

Comments
 (0)