Skip to content

Commit 69df57d

Browse files
Formalize Inline Snapshot Testing (#764)
* wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * fix * beta 6 * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * fix * wip * wip * wip * wip * wip * wip * wip * wip * wip * small things * wip * DocC + swift-format (#765) * DocC and swift-format support * wip * wip * wip --------- Co-authored-by: Brandon Williams <[email protected]>
1 parent 26ed3a2 commit 69df57d

File tree

81 files changed

+7352
-6936
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+7352
-6936
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,12 @@ jobs:
1313
strategy:
1414
matrix:
1515
xcode:
16-
- "13.2.1" # Swift 5.5.2
17-
- "13.4.1" # Swift 5.6.1
18-
- "14.0" # Swift 5.7
16+
- "14.3.1"
1917

20-
name: macOS 12 (Xcode ${{ matrix.xcode }})
21-
runs-on: macos-12
18+
name: macOS 13 (Xcode ${{ matrix.xcode }})
19+
runs-on: macos-13
2220
steps:
23-
- uses: actions/checkout@v1
21+
- uses: actions/checkout@v3
2422
- name: Select Xcode ${{ matrix.xcode }}
2523
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
2624
- name: Run tests
@@ -30,8 +28,6 @@ jobs:
3028
strategy:
3129
matrix:
3230
swift:
33-
- "5.5"
34-
- "5.6"
3531
- "5.7"
3632

3733
name: Ubuntu (Swift ${{ matrix.swift }})
@@ -40,16 +36,14 @@ jobs:
4036
- uses: swift-actions/setup-swift@v1
4137
with:
4238
swift-version: ${{ matrix.swift }}
43-
- uses: actions/checkout@v2
39+
- uses: actions/checkout@v3
4440
- run: swift test
4541

4642
windows:
4743
strategy:
4844
matrix:
4945
swift:
50-
- "5.5"
51-
- "5.6"
52-
#- "5.7"
46+
- "5.8"
5347

5448
name: Windows (Swift ${{ matrix.swift }})
5549
runs-on: windows-2019
@@ -65,6 +59,6 @@ jobs:
6559
git config --global core.autocrlf false
6660
git config --global core.eol lf
6761
68-
- uses: actions/checkout@v2
62+
- uses: actions/checkout@v3
6963
- run: swift build
7064
- run: swift test

.github/workflows/format.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Format
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
concurrency:
9+
group: format-${{ github.ref }}
10+
cancel-in-progress: true
11+
12+
jobs:
13+
swift_format:
14+
name: swift-format
15+
runs-on: macos-12
16+
steps:
17+
- uses: actions/checkout@v3
18+
- name: Xcode Select
19+
run: sudo xcode-select -s /Applications/Xcode_14.3.1.app
20+
- name: Install
21+
run: brew install swift-format
22+
- name: Format
23+
run: make format
24+
- uses: stefanzweifel/git-auto-commit-action@v4
25+
with:
26+
commit_message: Run swift-format
27+
branch: 'main'
28+
env:
29+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)