Skip to content

Commit

Permalink
Merge pull request #47 from liamnichols/ln/swift-tools-version-5.5
Browse files Browse the repository at this point in the history
Revert back to supporting Swift 5.5
  • Loading branch information
kean authored Aug 4, 2022
2 parents 69875e2 + 8a45305 commit db5248c
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 5 deletions.
24 changes: 20 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,34 @@ on:

jobs:
macos-run-tests:
name: Unit Tests (iOS 15.4, Xcode 13.3.1)
runs-on: macOS-12
name: Unit Tests (Xcode ${{ matrix.xcode }})
strategy:
fail-fast: false
matrix:
xcode: ["13.4.1", "13.3.1", "13.2.1"]
include:
- xcode: "13.4.1"
macos: macOS-12
- xcode: "13.3.1"
macos: macOS-12
- xcode: "13.2.1"
macos: macOS-11
runs-on: ${{ matrix.macos }}
env:
DEVELOPER_DIR: /Applications/Xcode_13.3.1.app/Contents/Developer
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
steps:
- uses: actions/checkout@v2
- name: Run Tests
run: swift test

linux-run-tests:
name: Unit Tests (Linux)
name: Unit Tests (Linux, Swift ${{ matrix.swift }})
strategy:
fail-fast: false
matrix:
swift: ["5.5", "5.6"]
runs-on: ubuntu-latest
container: swift:${{ matrix.swift }}
steps:
- uses: actions/checkout@v2
- name: Run Tests
Expand Down
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.6
// swift-tools-version:5.5
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription
Expand Down

0 comments on commit db5248c

Please sign in to comment.