Skip to content

Commit 4b04da2

Browse files
committed
update to Swift 6.2
1 parent 1117faf commit 4b04da2

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

.github/workflows/pull_request.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ jobs:
2626
name: Documentation check
2727
runs-on: ubuntu-latest
2828
container:
29-
image: 'swift:6.1-noble'
29+
image: 'swift:6.2-noble'
3030
strategy:
3131
fail-fast: true
3232
matrix:
33-
swift_version: ['6.1.3']
33+
swift_version: ['6.2']
3434
os_version: ['jammy']
3535
jdk_vendor: ['corretto']
3636
steps:
@@ -48,7 +48,7 @@ jobs:
4848
strategy:
4949
fail-fast: true
5050
matrix:
51-
swift_version: ['6.1.3', 'nightly']
51+
swift_version: ['6.2', 'nightly']
5252
os_version: ['jammy']
5353
jdk_vendor: ['corretto']
5454
container:
@@ -74,7 +74,7 @@ jobs:
7474
strategy:
7575
fail-fast: true
7676
matrix:
77-
swift_version: ['6.2.0']
77+
swift_version: ['6.2']
7878
os_version: ['macos']
7979
jdk_vendor: ['corretto']
8080
env:
@@ -98,7 +98,7 @@ jobs:
9898
strategy:
9999
fail-fast: true
100100
matrix:
101-
swift_version: ['6.2.0']
101+
swift_version: ['6.2']
102102
os_version: ['jammy']
103103
jdk_vendor: ['corretto']
104104
container:
@@ -118,7 +118,7 @@ jobs:
118118
strategy:
119119
fail-fast: true
120120
matrix:
121-
swift_version: ['6.2.0']
121+
swift_version: ['6.2']
122122
os_version: ['jammy']
123123
jdk_vendor: ['corretto']
124124
container:
@@ -140,7 +140,7 @@ jobs:
140140
strategy:
141141
fail-fast: false
142142
matrix:
143-
swift_version: ['6.1.3', 'nightly']
143+
swift_version: ['6.2', 'nightly']
144144
os_version: ['jammy']
145145
jdk_vendor: ['corretto']
146146
container:
@@ -162,7 +162,7 @@ jobs:
162162
strategy:
163163
fail-fast: false
164164
matrix:
165-
swift_version: ['6.2.0']
165+
swift_version: ['6.2']
166166
os_version: ['macos']
167167
jdk_vendor: ['corretto']
168168
env:
@@ -182,7 +182,7 @@ jobs:
182182
strategy:
183183
fail-fast: false
184184
matrix:
185-
swift_version: ['6.1.3', 'nightly']
185+
swift_version: ['6.2', 'nightly']
186186
os_version: ['jammy']
187187
jdk_vendor: ['corretto']
188188
sample_app: [ # TODO: use a reusable-workflow to generate those names
@@ -210,7 +210,7 @@ jobs:
210210
strategy:
211211
fail-fast: false
212212
matrix:
213-
swift_version: ['6.2.0'] # no nightly testing on macOS
213+
swift_version: ['6.2'] # no nightly testing on macOS
214214
os_version: ['macos']
215215
jdk_vendor: ['corretto']
216216
sample_app: [ # TODO: use a reusable-workflow to generate those names

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version: 6.0
1+
// swift-tools-version: 6.2
22
// The swift-tools-version declares the minimum version of Swift required to build this package.
33

44
import CompilerPluginSupport

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ This does require the use of the relatively recent [JEP-454: Foreign Function &
7373
This is the primary way we envision calling Swift code from server-side Java libraries and applications.
7474

7575
Required language/runtime versions:
76-
- **Swift 6.1**, because of dependence on rich swift interface files
76+
- **Swift 6.2**, because of dependence on rich swift interface files
7777
- **JDK 25+**
7878
- We are validating the implementation using the currently supported non-LTE release, which at present means JDK-25.
7979

@@ -85,7 +85,7 @@ This mode is more limited in some performance and flexibility that it can offer,
8585
We recommend this mode when FFM is not available, or wide ranging deployment compatibility is your priority. When performance is paramaunt, we recommend the FFM mode instead.
8686

8787
Required language/runtime versions:
88-
- **Swift 6.1**, because of dependence on rich swift interface files
88+
- **Swift 6.2**, because of dependence on rich swift interface files
8989
- **Java 7+**, including
9090

9191

@@ -94,7 +94,7 @@ Required language/runtime versions:
9494
This project contains multiple builds, living side by side together.
9595

9696
You will need to have:
97-
- Swift (6.1.x+)
97+
- Swift (6.2.x+)
9898
- Java (25+ for FFM, even though we support lower JDK targets)
9999
- Gradle (installed by "Gradle wrapper" automatically when you run gradle through `./gradlew`)
100100

@@ -104,7 +104,7 @@ Install **Swift**, the easiest way to do this is to use **Swiftly**: [swift.org/
104104
This should automatically install a recent Swift, but you can always make sure by running:
105105

106106
```bash
107-
swiftly install 6.1.2 --use
107+
swiftly install 6.2 --use
108108
```
109109

110110
Install a recent enough Java distribution. We validate this project using Corretto so you can choose to use that as well,
@@ -229,4 +229,4 @@ xcrun docc preview Sources/SwiftJavaDocumentation/Documentation.docc
229229

230230
**This project is under active development. We welcome feedback about any issues you encounter.**
231231

232-
There is no guarantee about API stability until the project reaches a 1.0 release.
232+
There is no guarantee about API stability until the project reaches a 1.0 release.

0 commit comments

Comments
 (0)