Skip to content

Commit

Permalink
Drop Swift 5.8 support and update CI (#515)
Browse files Browse the repository at this point in the history
  • Loading branch information
gwynne authored Oct 9, 2024
1 parent 8f7e900 commit c13a11a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,9 @@ jobs:
fail-fast: false
matrix:
swift-image:
- swift:5.8-jammy
- swift:5.9-jammy
- swift:5.10-noble
- swiftlang/swift:nightly-6.0-jammy
- swift:6.0-noble
- swiftlang/swift:nightly-main-jammy
container: ${{ matrix.swift-image }}
runs-on: ubuntu-latest
Expand All @@ -48,13 +47,13 @@ jobs:
fail-fast: false
matrix:
postgres-image:
- postgres:16
- postgres:14
- postgres:17
- postgres:15
- postgres:12
include:
- postgres-image: postgres:16
- postgres-image: postgres:17
postgres-auth: scram-sha-256
- postgres-image: postgres:14
- postgres-image: postgres:15
postgres-auth: md5
- postgres-image: postgres:12
postgres-auth: trust
Expand Down Expand Up @@ -134,11 +133,8 @@ jobs:
# Only test one auth method on macOS, Linux tests will cover the others
- scram-sha-256
xcode-version:
- '~14.3'
- '~15'
include:
- xcode-version: '~14.3'
macos-version: 'macos-13'
- xcode-version: '~15'
macos-version: 'macos-14'
runs-on: ${{ matrix.macos-version }}
Expand Down Expand Up @@ -172,7 +168,7 @@ jobs:
uses: actions/checkout@v4
- name: Run all tests
run: swift test

api-breakage:
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
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.8
// swift-tools-version:5.9
import PackageDescription

let swiftSettings: [SwiftSetting] = [
Expand Down

0 comments on commit c13a11a

Please sign in to comment.