Skip to content

Commit 8e7a3c9

Browse files
committed
Restore the Swift compatibility checks when non-current Swift versions are in use
1 parent 8006cfb commit 8e7a3c9

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/run-unit-tests.yml

+12
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,13 @@ jobs:
105105
steps:
106106
- name: Check out code
107107
uses: actions/checkout@v4
108+
- name: Check Swift compatibility
109+
id: swift-check
110+
uses: vapor/ci/.github/actions/check-compatible-swift@main
111+
with:
112+
package_root: ${{ inputs.package_root }}
108113
- name: Run unit tests
114+
if: ${{ steps.swift-check.outputs.swift-compatible == 'true' }}
109115
run: |
110116
SWIFT_DETERMINISTIC_HASHING=1 \
111117
swift test \
@@ -141,7 +147,13 @@ jobs:
141147
xcode-version: ${{ matrix.xcode-version }}
142148
- name: Check out code
143149
uses: actions/checkout@v4
150+
- name: Check Swift compatibility
151+
id: swift-check
152+
uses: vapor/ci/.github/actions/check-compatible-swift@main
153+
with:
154+
package_root: ${{ inputs.package_root }}
144155
- name: Run unit tests
156+
if: ${{ steps.swift-check.outputs.swift-compatible == 'true' }}
145157
run: |
146158
SWIFT_DETERMINISTIC_HASHING=1 \
147159
swift test \

0 commit comments

Comments
 (0)