Skip to content

Commit 54426aa

Browse files
authored
Create swift.yml
Signed-off-by: Christopher Jr Riley <chrisjr@cjrriley.com>
1 parent 9a3ab8c commit 54426aa

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/swift.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# This workflow will build a Swift project
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
3+
4+
name: Swift
5+
6+
on:
7+
push:
8+
branches: [ "main" ]
9+
10+
jobs:
11+
build:
12+
runs-on: macos-latest
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- uses: swift-actions/setup-swift@v2
18+
with:
19+
swift-version: "6.0.0"
20+
- name: Get swift version
21+
run: swift --version
22+
23+
- name: Build
24+
run: swift build -v
25+
26+
- name: Run tests
27+
run: swift test -v

0 commit comments

Comments
 (0)