Skip to content

Commit 406e018

Browse files
committed
Update format config and workflows
1 parent 2f4ebfc commit 406e018

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

.github/workflows/build.yml

+13-4
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: macos-latest
99
strategy:
1010
matrix:
11-
xcode: ["14.2.0", "13.4.1"]
11+
xcode: ["15.3", "14.3.1"]
1212
steps:
1313
- uses: maxim-lobanov/setup-xcode@v1
1414
with:
@@ -19,14 +19,23 @@ jobs:
1919
run:
2020
xcodebuild -scheme "Expression (Mac)" -sdk macosx clean build test
2121
- name: Codecov
22-
run: bash <(curl -s https://codecov.io/bash) -t f835f552-0734-4266-b5c6-0c184c368bd9
22+
uses: codecov/codecov-action@v2
23+
with:
24+
# the token is optional for a public repo, but including it anyway
25+
token: f835f552-0734-4266-b5c6-0c184c368bd9
26+
env_vars: MD_APPLE_SDK_ROOT,RUNNER_OS,RUNNER_ARCH
2327
linux:
2428
runs-on: ubuntu-latest
2529
strategy:
30+
fail-fast: false
2631
matrix:
27-
swift: ["5.7", "5.6", "5.5", "5.2"]
32+
swiftver:
33+
- swift:5.2
34+
- swift:5.9
35+
swiftos:
36+
- focal
2837
container:
29-
image: swift:${{ matrix.swift }}
38+
image: ${{ format('{0}-{1}', matrix.swiftver, matrix.swiftos) }}
3039
options: --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --security-opt apparmor=unconfined
3140
steps:
3241
- name: Checkout

.swiftformat

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
--hexgrouping ignore
22
--decimalgrouping ignore
33
--enable isEmpty
4+
--disable blankLineAfterImports
5+
46
--exclude Tests/XCTestManifests.swift

0 commit comments

Comments
 (0)