Skip to content

Commit 09e51c3

Browse files
authored
Merge pull request #1 from gabe4coding/gabe4coding-patch-1
Create swift.yml
2 parents 7f50ec0 + 32d0391 commit 09e51c3

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/swift.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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+
pull_request:
10+
branches: [ "main" ]
11+
12+
jobs:
13+
build:
14+
15+
runs-on: macos-latest
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
- uses: SwiftyLab/setup-swift@latest
20+
with:
21+
swift-version: "6.0"
22+
- name: Build
23+
run: swift build -v
24+
- name: Run tests
25+
run: swift test -v

0 commit comments

Comments
 (0)