Skip to content

Commit da4e248

Browse files
committed
bump swift requirement to 6.0
1 parent f23fdf4 commit da4e248

6 files changed

Lines changed: 12 additions & 13 deletions

File tree

.github/workflows/codecov.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on: [pull_request]
55
jobs:
66
codecov:
77
container:
8-
image: swift:5.10
8+
image: swift:6.2
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v5

.github/workflows/documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
build:
1010
runs-on: ubuntu-latest
1111
container:
12-
image: swift:5.10
12+
image: swift:6.2
1313

1414
steps:
1515
- uses: actions/checkout@v5

.github/workflows/tests.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
image:
16-
- swift:5.10-focal
17-
- swift:5.10-jammy
1816
- swift:6.0-focal
1917
- swift:6.0-jammy
2018
- swift:6.0-noble

Package.resolved

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version: 5.10
1+
// swift-tools-version: 6.0
22

33
import PackageDescription
44

@@ -74,5 +74,5 @@ let package = Package(
7474
name: "OpenAPIKitCompatTests",
7575
dependencies: ["OpenAPIKitCompat"])
7676
],
77-
swiftLanguageVersions: [ .v5 ]
77+
swiftLanguageModes: [ .v5, .v6 ]
7878
)

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![sswg:sandbox|94x20](https://img.shields.io/badge/sswg-sandbox-lightgrey.svg)](https://github.com/swift-server/sswg/blob/master/process/incubation.md#sandbox-level) [![Swift 5.10+](http://img.shields.io/badge/Swift-5.10+-blue.svg)](https://swift.org)
1+
[![sswg:sandbox|94x20](https://img.shields.io/badge/sswg-sandbox-lightgrey.svg)](https://github.com/swift-server/sswg/blob/master/process/incubation.md#sandbox-level) [![Swift 6.0+](http://img.shields.io/badge/Swift-6.0+-blue.svg)](https://swift.org)
22

33
[![MIT license](http://img.shields.io/badge/license-MIT-lightgrey.svg)](http://opensource.org/licenses/MIT) ![Tests](https://github.com/mattpolzin/OpenAPIKit/actions/workflows/tests.yml/badge.svg?branch=main)
44

@@ -16,9 +16,9 @@ versions and key features are supported by which OpenAPIKit versions.
1616

1717
| OpenAPIKit | Swift | OpenAPI v3.0, v3.1 | External Dereferencing & Sendable | OpenAPI v3.2 |
1818
|------------|-------|--------------------|-----------------------------------|--------------|
19-
| v3.x | 5.1+ || | |
2019
| v4.x | 5.8+ ||| |
2120
| v5.x | 5.10+ ||||
21+
| v6.x | 6.0+ ||||
2222

2323
- [Usage](#usage)
2424
- [Migration](#migration)

0 commit comments

Comments
 (0)