@@ -10,14 +10,14 @@ jobs:
10
10
matrix :
11
11
env :
12
12
- xcode : 15.4
13
- runtime : " iOS 15 .5"
14
- device : " iPhone 13 Pro"
13
+ runtime : " iOS 17 .5"
14
+ device : " iPhone 15 Pro Max "
15
15
- xcode : 15.4
16
- runtime : " iOS 14.5 "
17
- device : " iPhone 12 Pro Max "
16
+ runtime : " iOS 16.4 "
17
+ device : " iPhone 12 mini "
18
18
- xcode : 15.4
19
- runtime : " iOS 13.7 "
20
- device : " iPhone 11 "
19
+ runtime : " iOS 15.5 "
20
+ device : " iPhone SE "
21
21
steps :
22
22
- uses : actions/checkout@v4
23
23
with :
27
27
with :
28
28
version : ${{ matrix.env.xcode }}
29
29
- name : " Cache downloaded simulator runtimes"
30
- uses : actions/cache@v3
30
+ uses : actions/cache@v4
31
31
with :
32
- path : ~/Library/Caches/XcodeInstall /*.dmg
32
+ path : ~/Downloads /*.dmg
33
33
key : Xcode ${{ matrix.env.xcode }}+${{ matrix.env.runtime }}
34
34
- name : " Prepare simulator"
35
35
id : prepare-simulator
@@ -41,11 +41,12 @@ jobs:
41
41
run : |
42
42
set -o pipefail
43
43
xcodebuild test -project "OneTimePassword.xcodeproj" -scheme "OneTimePassword (iOS)" -destination "id=${{ steps.prepare-simulator.outputs.destination-id }}" | xcpretty -c
44
- - uses : sersoft-gmbh/swift-coverage-action@v3
44
+ - uses : sersoft-gmbh/swift-coverage-action@v4
45
45
with :
46
46
target-name-filter : ^OneTimePassword$
47
- - uses : codecov/codecov-action@v3
47
+ - uses : codecov/codecov-action@v4
48
48
with :
49
+ token : ${{ secrets.CODECOV_TOKEN }}
49
50
fail_ci_if_error : true
50
51
51
52
watchos :
@@ -55,14 +56,14 @@ jobs:
55
56
matrix :
56
57
env :
57
58
- xcode : 15.4
58
- runtime : " watchOS 8 .5"
59
- device : " Apple Watch Series 7 - 45mm "
59
+ runtime : " watchOS 10 .5"
60
+ device : " Apple Watch Ultra 2 (49mm) "
60
61
- xcode : 15.4
61
- runtime : " watchOS 7 .4"
62
- device : " Apple Watch Series 6 - 44mm "
62
+ runtime : " watchOS 9 .4"
63
+ device : " Apple Watch SE (44mm) (2nd generation) "
63
64
- xcode : 15.4
64
- runtime : " watchOS 6.2 "
65
- device : " Apple Watch Series 4 - 40mm "
65
+ runtime : " watchOS 8.5 "
66
+ device : " Apple Watch Series 3 (38mm) "
66
67
steps :
67
68
- uses : actions/checkout@v4
68
69
with :
72
73
with :
73
74
version : ${{ matrix.env.xcode }}
74
75
- name : " Cache downloaded simulator runtimes"
75
- uses : actions/cache@v3
76
+ uses : actions/cache@v4
76
77
with :
77
- path : ~/Library/Caches/XcodeInstall /*.dmg
78
+ path : ~/Downloads /*.dmg
78
79
key : Xcode ${{ matrix.env.xcode }}+${{ matrix.env.runtime }}
79
80
- name : " Prepare simulator"
80
81
id : prepare-simulator
0 commit comments