File tree Expand file tree Collapse file tree 1 file changed +15
-10
lines changed Expand file tree Collapse file tree 1 file changed +15
-10
lines changed Original file line number Diff line number Diff line change 1
1
# This workflow will build a Swift project
2
2
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
3
3
4
- name : Swift
4
+ name : Build and Test DefaultsKit
5
5
6
6
on :
7
7
push :
8
- branches : [ " main" ]
8
+ branches : [main]
9
9
pull_request :
10
- branches : [ " main" ]
10
+ branches : [main]
11
11
12
12
jobs :
13
13
build :
14
-
15
- runs-on : macos-latest
14
+ runs-on : self-hosted
16
15
17
16
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
You can’t perform that action at this time.
0 commit comments