Skip to content

Commit 52a4f24

Browse files
committed
Update ci.yml
1 parent a25dccb commit 52a4f24

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

.github/workflows/swift.yml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,27 @@
11
# This workflow will build a Swift project
22
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
33

4-
name: Swift
4+
name: Build and Test DefaultsKit
55

66
on:
77
push:
8-
branches: [ "main" ]
8+
branches: [main]
99
pull_request:
10-
branches: [ "main" ]
10+
branches: [main]
1111

1212
jobs:
1313
build:
14-
15-
runs-on: macos-latest
14+
runs-on: self-hosted
1615

1716
steps:
18-
- uses: actions/checkout@v4
19-
- name: Build
20-
run: swift build -v
21-
- name: Run tests
22-
run: swift test -v
17+
- name: Checkout code
18+
uses: actions/checkout@v4
19+
20+
- name: Select Xcode 16.0
21+
run: sudo xcode-select -s /Applications/Xcode.app/
22+
23+
- name: Build Package
24+
run: swift build
25+
26+
- name: Run Tests
27+
run: swift test

0 commit comments

Comments
 (0)