Skip to content

Commit bcee9db

Browse files
Maintenance (#83)
* Update JamesIves/github-pages-deploy-action action to v4.6.9 * Update codecov/codecov-action action to v5 * Update dependency nicklockwood/SwiftFormat to v0.55.0 * Migrate codecov * Update macOS matrix * Update macOS job strategy matrix * Rename jobs --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 2403d96 commit bcee9db

File tree

6 files changed

+21
-19
lines changed

6 files changed

+21
-19
lines changed

.github/workflows/ci-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
branches: [ master ]
88

99
jobs:
10-
linux-test-build-release:
10+
linux:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:

.github/workflows/ci-macos.yml

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,32 +9,34 @@ on:
99

1010
env:
1111
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
12-
CODECOV_XCODE_VERSION: "15.4" # Xcode version used to generate code coverage
12+
CODECOV_XCODE_VERSION: "16.0" # Xcode version used to generate code coverage
1313

1414
jobs:
15-
macos-test-build-release-xcode:
16-
runs-on: macOS-latest
15+
macos:
16+
runs-on: ${{ matrix.config.os }}
1717
strategy:
18+
fail-fast: true
1819
matrix:
19-
xcode: ["14.3.1", "15.4", "16.0"]
20-
20+
config:
21+
- { os: "macos-14", xcode: "15.4" }
22+
- { os: "macos-15", xcode: "16.0" }
2123
steps:
2224
- name: Checkout
2325
uses: actions/checkout@v4
2426

25-
- name: Select Xcode ${{ matrix.xcode }}
26-
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
27+
- name: Select Xcode ${{ matrix.config.xcode }}
28+
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.config.xcode }}.app
2729

2830
- name: Test
2931
run: swift test -c release --parallel --xunit-output .build/xUnit-output.xml --enable-code-coverage
3032
env:
31-
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
33+
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.config.xcode }}.app/Contents/Developer
3234

3335
- name: Upload test artifacts
3436
if: failure()
3537
uses: actions/upload-artifact@v4.4.3
3638
with:
37-
name: test-artifacts-${{ matrix.xcode }}-${{ github.run_id }}
39+
name: test-artifacts-${{ matrix.config.xcode }}-${{ github.run_id }}
3840
path: |
3941
.build/*.yaml
4042
.build/*.xml
@@ -48,13 +50,13 @@ jobs:
4850

4951
# Only run coverage steps if the CODECOV_TOKEN is available and the matrix.xcode matches CODECOV_XCODE_VERSION
5052
- name: Generate coverage report
51-
if: env.CODECOV_TOKEN != '' && matrix.xcode == env.CODECOV_XCODE_VERSION
53+
if: env.CODECOV_TOKEN != '' && matrix.config.xcode == env.CODECOV_XCODE_VERSION
5254
run: xcrun llvm-cov export -format="lcov" .build/**/*PackageTests.xctest/Contents/MacOS/*PackageTests -instr-profile .build/**/codecov/default.profdata > coverage.lcov
5355

5456
- name: Upload code coverage report
55-
if: env.CODECOV_TOKEN != '' && matrix.xcode == env.CODECOV_XCODE_VERSION
56-
uses: codecov/codecov-action@v4.6.0
57+
if: env.CODECOV_TOKEN != '' && matrix.config.xcode == env.CODECOV_XCODE_VERSION
58+
uses: codecov/codecov-action@v5.0.2
5759
with:
5860
token: ${{ env.CODECOV_TOKEN }}
59-
file: coverage.lcov
61+
files: coverage.lcov
6062
fail_ci_if_error: true

.github/workflows/ci-wasm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
branches: [ master ]
88

99
jobs:
10-
wasm-build:
10+
wasm:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v4

.github/workflows/ci-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
branches: [ master ]
88

99
jobs:
10-
windows-test-build-release:
10+
windows:
1111
runs-on: windows-latest
1212
steps:
1313
- name: Setup

.github/workflows/documentation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ concurrency:
1616
cancel-in-progress: true
1717

1818
jobs:
19-
build:
19+
documentation:
2020
runs-on: macos-14
2121
steps:
2222
- name: Select Xcode 16.0
@@ -69,7 +69,7 @@ jobs:
6969
run: 'sudo chown -R $USER docs'
7070

7171
- name: Publish documentation to GitHub Pages
72-
uses: JamesIves/github-pages-deploy-action@v4.6.8
72+
uses: JamesIves/github-pages-deploy-action@v4.6.9
7373
with:
7474
branch: gh-pages
7575
folder: docs

Mintfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
realm/SwiftLint@0.57.0
2-
nicklockwood/SwiftFormat@0.54.6
2+
nicklockwood/SwiftFormat@0.55.0
33
krzysztofzablocki/Sourcery@2.2.5

0 commit comments

Comments
 (0)