Skip to content

Commit a94ac8c

Browse files
authored
ci: bump dependencies (#404)
* ci: bump dependencies * add windows build for latest swift * older swift run on older windows * Codecov patch back to auto
1 parent d94dcad commit a94ac8c

File tree

2 files changed

+37
-17
lines changed

2 files changed

+37
-17
lines changed

.codecov.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ coverage:
66
status:
77
patch:
88
default:
9-
target: 72
9+
target: auto
1010
changes: false
1111
project:
1212
default:

.github/workflows/ci.yml

+36-16
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
env:
2121
DEVELOPER_DIR: ${{ env.CI_XCODE_13 }}
2222
- name: Prepare codecov
23-
uses: sersoft-gmbh/swift-coverage-action@v2
23+
uses: sersoft-gmbh/swift-coverage-action@v3
2424
id: coverage-files
2525
with:
2626
format: lcov
@@ -53,15 +53,15 @@ jobs:
5353
env:
5454
DEVELOPER_DIR: ${{ env.CI_XCODE_13 }}
5555
- name: Prepare codecov
56-
uses: sersoft-gmbh/swift-coverage-action@v2
56+
uses: sersoft-gmbh/swift-coverage-action@v3
5757
id: coverage-files
5858
with:
5959
format: lcov
6060
search-paths: ./DerivedData
6161
env:
6262
DEVELOPER_DIR: ${{ env.CI_XCODE_13 }}
6363
- name: Upload coverage to Codecov
64-
uses: codecov/codecov-action@v2
64+
uses: codecov/codecov-action@v3
6565
with:
6666
files: ${{join(fromJSON(steps.coverage-files.outputs.files), ',')}}
6767
env_vars: MACOS
@@ -80,15 +80,15 @@ jobs:
8080
env:
8181
DEVELOPER_DIR: ${{ env.CI_XCODE_13 }}
8282
- name: Prepare codecov
83-
uses: sersoft-gmbh/swift-coverage-action@v2
83+
uses: sersoft-gmbh/swift-coverage-action@v3
8484
id: coverage-files
8585
with:
8686
format: lcov
8787
search-paths: ./DerivedData
8888
env:
8989
DEVELOPER_DIR: ${{ env.CI_XCODE_13 }}
9090
- name: Upload coverage to Codecov
91-
uses: codecov/codecov-action@v2
91+
uses: codecov/codecov-action@v3
9292
with:
9393
files: ${{join(fromJSON(steps.coverage-files.outputs.files), ',')}}
9494
env_vars: TVOS
@@ -107,7 +107,7 @@ jobs:
107107
env:
108108
DEVELOPER_DIR: ${{ env.CI_XCODE_13 }}
109109
- name: Upload coverage to Codecov
110-
uses: codecov/codecov-action@v2
110+
uses: codecov/codecov-action@v3
111111
with:
112112
env_vars: WATCHOS
113113
env:
@@ -130,15 +130,15 @@ jobs:
130130
env:
131131
DEVELOPER_DIR: ${{ env.CI_XCODE_13 }}
132132
- name: Prepare codecov
133-
uses: sersoft-gmbh/swift-coverage-action@v2
133+
uses: sersoft-gmbh/swift-coverage-action@v3
134134
id: coverage-files
135135
with:
136136
format: lcov
137137
search-paths: ./.build
138138
env:
139139
DEVELOPER_DIR: ${{ env.CI_XCODE_13 }}
140140
- name: Upload coverage to Codecov
141-
uses: codecov/codecov-action@v2
141+
uses: codecov/codecov-action@v3
142142
with:
143143
files: ${{join(fromJSON(steps.coverage-files.outputs.files), ',')}}
144144
env_vars: SPM
@@ -156,13 +156,13 @@ jobs:
156156
env:
157157
DEVELOPER_DIR: ${{ env.CI_XCODE_VER }}
158158
- name: Prepare codecov
159-
uses: sersoft-gmbh/swift-coverage-action@v2
159+
uses: sersoft-gmbh/swift-coverage-action@v3
160160
id: coverage-files
161161
with:
162162
format: lcov
163163
search-paths: ./DerivedData
164164
- name: Upload coverage to Codecov
165-
uses: codecov/codecov-action@v2
165+
uses: codecov/codecov-action@v3
166166
with:
167167
files: ${{join(fromJSON(steps.coverage-files.outputs.files), ',')}}
168168
env_vars: IOS_Earliest
@@ -174,7 +174,7 @@ jobs:
174174
runs-on: ubuntu-18.04
175175
steps:
176176
- uses: actions/checkout@v3
177-
- uses: sersoft-gmbh/SwiftyActions@v1
177+
- uses: sersoft-gmbh/SwiftyActions@v2
178178
with:
179179
release-version: "5"
180180
github-token: ${{ secrets.GITHUB_TOKEN }}
@@ -184,7 +184,7 @@ jobs:
184184
run: |
185185
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
186186
- name: Upload coverage to Codecov
187-
uses: codecov/codecov-action@v2
187+
uses: codecov/codecov-action@v3
188188
with:
189189
env_vars: LINUX
190190
fail_ci_if_error: true
@@ -193,15 +193,35 @@ jobs:
193193
runs-on: windows-2019
194194
steps:
195195
- uses: actions/checkout@v3
196-
- uses: MaxDesiatov/swift-windows-action@v1
196+
- uses: compnerd/[email protected]
197197
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
200203
- name: Upload coverage to Codecov
201-
uses: codecov/codecov-action@v2
204+
uses: codecov/codecov-action@v3
202205
with:
203206
env_vars: WINDOWS
204207
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
205225

206226
docs:
207227
needs: xcode-build-watchos

0 commit comments

Comments
 (0)