Skip to content

Commit

Permalink
Update base Swift version to 5.9, update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
gwynne committed Sep 28, 2024
1 parent fc1fbb9 commit c4dee44
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 72 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,10 @@ 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
include:
- sanitize: '--sanitize=thread'
- swift-image: swift:5.8-jammy
sanitize: ''
runs-on: ubuntu-latest
container: ${{ matrix.swift-image }}
services:
Expand All @@ -50,7 +45,7 @@ jobs:
SANITIZE: ${{ matrix.sanitize }}
POSTGRES_HOST: psql
MYSQL_HOST: mysql
run: SWIFT_DETERMINISTIC_HASHING=1 swift test ${SANITIZE} --enable-code-coverage
run: SWIFT_DETERMINISTIC_HASHING=1 swift test --sanitize=thread --enable-code-coverage
- name: Upload coverage data
uses: vapor/[email protected]
with:
Expand All @@ -63,7 +58,7 @@ jobs:
matrix:
include:
- macos-version: macos-13
xcode-version: '~15.2'
xcode-version: '~15.4'
- macos-version: macos-14
xcode-version: latest-stable
runs-on: ${{ matrix.macos-version }}
Expand Down
7 changes: 6 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
// swift-tools-version:5.8
// swift-tools-version:5.9
import PackageDescription
import class Foundation.ProcessInfo

let package = Package(
name: "QueuesFluentDriver",
platforms: [
.macOS(.v10_15),
.iOS(.v13),
.watchOS(.v6),
.tvOS(.v13),
],
products: [
.library(name: "QueuesFluentDriver", targets: ["QueuesFluentDriver"]),
Expand Down Expand Up @@ -53,6 +56,8 @@ let package = Package(

var swiftSettings: [SwiftSetting] { [
.enableUpcomingFeature("ForwardTrailingClosures"),
.enableUpcomingFeature("ExistentialAny"),
.enableUpcomingFeature("ConciseMagicFile"),
.enableUpcomingFeature("DisableOutwardActorInference"),
.enableExperimentalFeature("StrictConcurrency=complete"),
] }
63 changes: 0 additions & 63 deletions [email protected]

This file was deleted.

0 comments on commit c4dee44

Please sign in to comment.