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 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
66on :
77 push :
8- branches : [ " main" ]
8+ branches : [main]
99 pull_request :
10- branches : [ " main" ]
10+ branches : [main]
1111
1212jobs :
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
You can’t perform that action at this time.
0 commit comments