20
20
env :
21
21
DEVELOPER_DIR : ${{ env.CI_XCODE_13 }}
22
22
- name : Prepare codecov
23
- uses : sersoft-gmbh/swift-coverage-action@v2
23
+ uses : sersoft-gmbh/swift-coverage-action@v3
24
24
id : coverage-files
25
25
with :
26
26
format : lcov
@@ -53,15 +53,15 @@ jobs:
53
53
env :
54
54
DEVELOPER_DIR : ${{ env.CI_XCODE_13 }}
55
55
- name : Prepare codecov
56
- uses : sersoft-gmbh/swift-coverage-action@v2
56
+ uses : sersoft-gmbh/swift-coverage-action@v3
57
57
id : coverage-files
58
58
with :
59
59
format : lcov
60
60
search-paths : ./DerivedData
61
61
env :
62
62
DEVELOPER_DIR : ${{ env.CI_XCODE_13 }}
63
63
- name : Upload coverage to Codecov
64
- uses : codecov/codecov-action@v2
64
+ uses : codecov/codecov-action@v3
65
65
with :
66
66
files : ${{join(fromJSON(steps.coverage-files.outputs.files), ',')}}
67
67
env_vars : MACOS
@@ -80,15 +80,15 @@ jobs:
80
80
env :
81
81
DEVELOPER_DIR : ${{ env.CI_XCODE_13 }}
82
82
- name : Prepare codecov
83
- uses : sersoft-gmbh/swift-coverage-action@v2
83
+ uses : sersoft-gmbh/swift-coverage-action@v3
84
84
id : coverage-files
85
85
with :
86
86
format : lcov
87
87
search-paths : ./DerivedData
88
88
env :
89
89
DEVELOPER_DIR : ${{ env.CI_XCODE_13 }}
90
90
- name : Upload coverage to Codecov
91
- uses : codecov/codecov-action@v2
91
+ uses : codecov/codecov-action@v3
92
92
with :
93
93
files : ${{join(fromJSON(steps.coverage-files.outputs.files), ',')}}
94
94
env_vars : TVOS
@@ -107,7 +107,7 @@ jobs:
107
107
env :
108
108
DEVELOPER_DIR : ${{ env.CI_XCODE_13 }}
109
109
- name : Upload coverage to Codecov
110
- uses : codecov/codecov-action@v2
110
+ uses : codecov/codecov-action@v3
111
111
with :
112
112
env_vars : WATCHOS
113
113
env :
@@ -130,15 +130,15 @@ jobs:
130
130
env :
131
131
DEVELOPER_DIR : ${{ env.CI_XCODE_13 }}
132
132
- name : Prepare codecov
133
- uses : sersoft-gmbh/swift-coverage-action@v2
133
+ uses : sersoft-gmbh/swift-coverage-action@v3
134
134
id : coverage-files
135
135
with :
136
136
format : lcov
137
137
search-paths : ./.build
138
138
env :
139
139
DEVELOPER_DIR : ${{ env.CI_XCODE_13 }}
140
140
- name : Upload coverage to Codecov
141
- uses : codecov/codecov-action@v2
141
+ uses : codecov/codecov-action@v3
142
142
with :
143
143
files : ${{join(fromJSON(steps.coverage-files.outputs.files), ',')}}
144
144
env_vars : SPM
@@ -156,13 +156,13 @@ jobs:
156
156
env :
157
157
DEVELOPER_DIR : ${{ env.CI_XCODE_VER }}
158
158
- name : Prepare codecov
159
- uses : sersoft-gmbh/swift-coverage-action@v2
159
+ uses : sersoft-gmbh/swift-coverage-action@v3
160
160
id : coverage-files
161
161
with :
162
162
format : lcov
163
163
search-paths : ./DerivedData
164
164
- name : Upload coverage to Codecov
165
- uses : codecov/codecov-action@v2
165
+ uses : codecov/codecov-action@v3
166
166
with :
167
167
files : ${{join(fromJSON(steps.coverage-files.outputs.files), ',')}}
168
168
env_vars : IOS_Earliest
@@ -174,7 +174,7 @@ jobs:
174
174
runs-on : ubuntu-18.04
175
175
steps :
176
176
- uses : actions/checkout@v3
177
- - uses : sersoft-gmbh/SwiftyActions@v1
177
+ - uses : sersoft-gmbh/SwiftyActions@v2
178
178
with :
179
179
release-version : " 5"
180
180
github-token : ${{ secrets.GITHUB_TOKEN }}
@@ -184,7 +184,7 @@ jobs:
184
184
run : |
185
185
llvm-cov export -format="lcov" .build/x86_64-unknown-linux-gnu/debug/ParseSwiftPackageTests.xctest -instr-profile .build/x86_64-unknown-linux-gnu/debug/codecov/default.profdata > info_linux.lcov
186
186
- name : Upload coverage to Codecov
187
- uses : codecov/codecov-action@v2
187
+ uses : codecov/codecov-action@v3
188
188
with :
189
189
env_vars : LINUX
190
190
fail_ci_if_error : true
@@ -193,15 +193,35 @@ jobs:
193
193
runs-on : windows-2019
194
194
steps :
195
195
- uses : actions/checkout@v3
196
- - uses : MaxDesiatov/swift-windows-action@v1
196
+ -
uses :
compnerd/[email protected]
197
197
with :
198
- swift-version : " 5.5.1"
199
- shell-action : swift test --enable-test-discovery --enable-code-coverage -v
198
+ branch : swift-5.5.1-release
199
+ tag : 5.5.1-RELEASE
200
+ - name : Build and Test
201
+ run : |
202
+ swift test --enable-test-discovery --enable-code-coverage -v
200
203
- name : Upload coverage to Codecov
201
- uses : codecov/codecov-action@v2
204
+ uses : codecov/codecov-action@v3
202
205
with :
203
206
env_vars : WINDOWS
204
207
fail_ci_if_error : false
208
+
209
+ windows-latest :
210
+ runs-on : windows-latest
211
+ steps :
212
+ - uses : actions/checkout@v3
213
+ -
uses :
compnerd/[email protected]
214
+ with :
215
+ branch : swift-5.6.3-release
216
+ tag : 5.6.3-RELEASE
217
+ - name : Build
218
+ run : |
219
+ swift build -v
220
+ - name : Upload coverage to Codecov
221
+ uses : codecov/codecov-action@v3
222
+ with :
223
+ env_vars : WINDOWSLATEST
224
+ fail_ci_if_error : false
205
225
206
226
docs :
207
227
needs : xcode-build-watchos
0 commit comments