Skip to content

Commit

Permalink
Set minimum supported Swift version of 5.9
Browse files Browse the repository at this point in the history
At least, as far as CI is concerned.
  • Loading branch information
younata committed Oct 14, 2024
1 parent efd7a78 commit 90d77ba
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 43 deletions.
23 changes: 6 additions & 17 deletions .github/workflows/ci-swiftpm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,12 @@ on:
- "*"

jobs:
swiftpm_darwin_monterey:
swiftpm_darwin_sonoma:
name: SwiftPM, Darwin, Xcode ${{ matrix.xcode }}
runs-on: macos-12
runs-on: macos-14
strategy:
matrix:
xcode: ["14.0.1", "14.1", "14.2"]
env:
DEVELOPER_DIR: "/Applications/Xcode_${{ matrix.xcode }}.app"
steps:
- uses: actions/checkout@v4
- run: ./test swiftpm

swiftpm_darwin_ventura:
name: SwiftPM, Darwin, Xcode ${{ matrix.xcode }}
runs-on: macos-13
strategy:
matrix:
xcode: ["14.3.1"]
xcode: ["15.0.1", "15.1", "15.2"]
env:
DEVELOPER_DIR: "/Applications/Xcode_${{ matrix.xcode }}.app"
steps:
Expand All @@ -41,8 +29,9 @@ jobs:
strategy:
matrix:
container:
- swift:5.7
- swift:5.8
- swift:5.9
- swift:5.10
- swift:6.0
# - swiftlang/swift:nightly
fail-fast: false
container: ${{ matrix.container }}
Expand Down
26 changes: 5 additions & 21 deletions .github/workflows/ci-xcode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,28 +11,12 @@ on:
- "*"

jobs:
xcode_monterey:
xcode_sonoma:
name: Xcode ${{ matrix.xcode }} (Xcode Project)
runs-on: macos-12
runs-on: macos-14
strategy:
matrix:
xcode: ["14.0.1", "14.1", "14.2"]
fail-fast: false
env:
DEVELOPER_DIR: "/Applications/Xcode_${{ matrix.xcode }}.app"
steps:
- uses: actions/checkout@v4
- run: ./test macos
- run: ./test ios
- run: ./test tvos
- run: ./test watchos

xcode_ventura:
name: Xcode ${{ matrix.xcode }} (Xcode Project)
runs-on: macos-13
strategy:
matrix:
xcode: ["14.3.1"]
xcode: ["15.0.1", "15.1", "15.2"]
fail-fast: false
env:
DEVELOPER_DIR: "/Applications/Xcode_${{ matrix.xcode }}.app"
Expand All @@ -45,10 +29,10 @@ jobs:

xcode_spm:
name: Xcode ${{ matrix.xcode }} (Swift Package)
runs-on: macos-12
runs-on: macos-14
strategy:
matrix:
xcode: ["14.0.1"]
xcode: ["15.0.1", "15.1", "15.2"]
fail-fast: false
env:
DEVELOPER_DIR: "/Applications/Xcode_${{ matrix.xcode }}.app"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cocoapods.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
jobs:
cocoapods:
name: CocoaPods Lint
runs-on: macos-12
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ permissions:

jobs:
build-documentation:
runs-on: ubuntu-latest
runs-on: macos-14
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ on:

jobs:
carthage_archive:
name: Darwin, Xcode 14.0
runs-on: macos-12
name: Darwin, Xcode 15.0
runs-on: macos-14
strategy:
matrix:
xcode: ["14.0.1"]
xcode: ["15.0.1"]
env:
DEVELOPER_DIR: "/Applications/Xcode_${{ matrix.xcode }}.app"
steps:
Expand Down

0 comments on commit 90d77ba

Please sign in to comment.