Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop Swift 5.8 support and update CI #515

Merged
merged 4 commits into from
Oct 9, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 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 @@ -171,8 +167,12 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Run all tests
run: swift test

run: swift test --enable-code-coverage
- name: Submit code coverage
uses: vapor/[email protected]
with:
codecov_token: ${{ secrets.CODECOV_TOKEN }}
gwynne marked this conversation as resolved.
Show resolved Hide resolved

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
Loading