File tree Expand file tree Collapse file tree 1 file changed +24
-9
lines changed Expand file tree Collapse file tree 1 file changed +24
-9
lines changed Original file line number Diff line number Diff line change 23
23
- ' *' # Push events to every tag
24
24
25
25
jobs :
26
- swift_tests :
26
+ swift_tests_latest :
27
+ name : Latest Swift Version
28
+ runs-on : macos-15
29
+ steps :
30
+ - uses : maxim-lobanov/setup-xcode@v1
31
+ with :
32
+ xcode-version : " 16.0"
33
+ - uses : actions/checkout@v3
34
+ - uses : actions/cache@v3
35
+ with :
36
+ path : .build
37
+ key : macos-latest-spm-${{ hashFiles('**/Package.resolved') }}
38
+ restore-keys : |
39
+ macos-latest-spm-
40
+ - name : Build
41
+ run : swift build
42
+ - name : Run tests
43
+ run : swift test
44
+ swift_tests_previous :
27
45
name : Swift Version ${{ matrix.swift }}
28
46
strategy :
29
47
matrix :
30
- os : [macos-15 ]
31
- swift : ["6.0 ", "5.9", "5.8"]
48
+ os : [macos-13 ]
49
+ swift : ["latest ", "5.9", "5.8"]
32
50
runs-on : ${{ matrix.os }}
33
51
steps :
34
- - uses : swift-actions/setup-swift@v2
52
+ - uses : swift-actions/setup-swift@v1
35
53
with :
36
54
swift-version : ${{ matrix.swift }}
37
55
- uses : maxim-lobanov/setup-xcode@v1
@@ -53,16 +71,13 @@ jobs:
53
71
name : iOS Unit Tests
54
72
runs-on : macos-15
55
73
steps :
56
- - uses : swift-actions/setup-swift@v2
57
- with :
58
- swift-version : 6.0
59
74
- uses : actions/checkout@v3
60
75
- uses : actions/cache@v3
61
76
with :
62
77
path : .build
63
- key : ${{ matrix.os }} -spm-${{ hashFiles('**/Package.resolved') }}
78
+ key : macos-15 -spm-${{ hashFiles('**/Package.resolved') }}
64
79
restore-keys : |
65
- ${{ matrix.os }} -spm-
80
+ macos-15 -spm-
66
81
67
82
- name : Build
68
83
run : xcodebuild build -scheme SyntaxSparrow -destination "OS=17.2,name=iPhone 13"
You can’t perform that action at this time.
0 commit comments