Skip to content

Commit

Permalink
Restore compatibility back to Swift 5.5 (#2)
Browse files Browse the repository at this point in the history
There was no reason for the minimum Swift version to be bumped so high,
let's put it back down to 5.5. This should also allow the Vapor toolbox
to retain compatibility with Xcode 13.2.
  • Loading branch information
gwynne committed Apr 8, 2024
1 parent 052c094 commit 137e173
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,22 @@ on:
jobs:
unit-tests:
uses: vapor/ci/.github/workflows/run-unit-tests.yml@main

unit-tests-old:
if: ${{ !(github.event.pull_request.draft || false) }}
strategy:
fail-fast: false
matrix:
swift-image:
- swift:5.5-focal
- swift:5.6-focal
- swift:5.7-jammy
runs-on: ubuntu-latest
container: ${{ matrix.swift-image }}
timeout-minutes: 60
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Run unit tests
run: SWIFT_DETERMINISTIC_HASHING=1 swift test --sanitize=thread

2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.7
// swift-tools-version:5.5
import PackageDescription

let package = Package(
Expand Down

0 comments on commit 137e173

Please sign in to comment.