Skip to content

Commit 31c4bb7

Browse files
committed
Update to Swift 5.9
1 parent 43823ca commit 31c4bb7

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
fail-fast: false
2020
matrix:
2121
platform: [macos-latest, ubuntu-latest]
22-
swift_version: [5.7, 5.8, 5.9]
22+
swift_version: [5.9]
2323
steps:
2424
- uses: swift-actions/setup-swift@61a116f4030ac34fb5731aab0eff5a0aed94ba29
2525
with:
@@ -32,7 +32,7 @@ jobs:
3232
runs-on: ${{ matrix.platform }}
3333
strategy:
3434
matrix:
35-
platform: [macos-latest, ubuntu-latest]
35+
platform: [macos-13, ubuntu-latest]
3636
steps:
3737
- uses: actions/checkout@v4
3838
- name: Install Swift and Tools

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
name: Release
66

77
env:
8-
SWIFT_VERSION: 5.7
8+
SWIFT_VERSION: 5.9
99

1010
jobs:
1111
create_release:

.swift-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.7.1
1+
5.9

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ package-linux-x86_64:
5858
$(eval SWIFT_BUILD_FLAGS := $(SHARED_SWIFT_BUILD_FLAGS) --triple $(TARGET_TRIPLE))
5959
$(eval BUILD_DIRECTORY := $(shell swift build --show-bin-path $(SWIFT_BUILD_FLAGS)))
6060
docker run --rm --volume `pwd`:/workdir --workdir /workdir \
61-
swift:5.7-bionic swift build $(SWIFT_BUILD_FLAGS)
61+
swift:5.9 swift build $(SWIFT_BUILD_FLAGS)
6262
tar --directory "$(BUILD_DIRECTORY)" --create --xz --file \
6363
"$(PRODUCT_NAME).tar.xz" "$(PRODUCT_NAME)"
6464

Package.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version:5.7
1+
// swift-tools-version:5.9
22
import PackageDescription
33

44
let package = Package(

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ In that directory, create a `Package.swift` file with the following contents.
6161
In addition, add an empty file named `Empty.swift` to the same location.
6262

6363
```swift
64-
// swift-tools-version: 5.6
64+
// swift-tools-version: 5.9
6565
import PackageDescription
6666

6767
let package = Package(

0 commit comments

Comments
 (0)