Skip to content

Commit

Permalink
Drop Swift 5.2 and 5.3 (#262)
Browse files Browse the repository at this point in the history
As outlined in a [Swift forums post in November ’21](https://forums.swift.org/t/swiftnio-swift-version-support/53232), SwiftNIO will only support the latest non-patch Swift release and the 2 immediately prior non-patch versions.
  • Loading branch information
fabianfett committed Apr 20, 2022
1 parent f6c7c5a commit cebcf04
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 98 deletions.
2 changes: 1 addition & 1 deletion .swiftformat
@@ -1,6 +1,6 @@
# file options

--swiftversion 5.2
--swiftversion 5.4
--exclude .build

# format options
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
@@ -1,4 +1,4 @@
// swift-tools-version:5.2
// swift-tools-version:5.4

import PackageDescription

Expand Down
3 changes: 1 addition & 2 deletions docker/Dockerfile
@@ -1,5 +1,4 @@
ARG swift_version=5.2
# FIXME when 5.2 images are available
ARG swift_version=5.4
ARG base_image=swift:$swift_version-amazonlinux2
FROM $base_image
# needed to do again after FROM due to docker limitation
Expand Down
36 changes: 0 additions & 36 deletions docker/Dockerfile.ubuntu

This file was deleted.

20 changes: 0 additions & 20 deletions docker/docker-compose.1804.52.yaml

This file was deleted.

18 changes: 0 additions & 18 deletions docker/docker-compose.al2.52.yaml

This file was deleted.

18 changes: 0 additions & 18 deletions docker/docker-compose.al2.53.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions readme.md
Expand Up @@ -17,7 +17,7 @@ If you have never used AWS Lambda or Docker before, check out this [getting star
First, create a SwiftPM project and pull Swift AWS Lambda Runtime as dependency into your project

```swift
// swift-tools-version:5.2
// swift-tools-version:5.6

import PackageDescription

Expand Down Expand Up @@ -80,7 +80,7 @@ Next, create a `main.swift` and implement your Lambda.
First, add a dependency on the event packages:

```swift
// swift-tools-version:5.2
// swift-tools-version:5.6

import PackageDescription

Expand Down

0 comments on commit cebcf04

Please sign in to comment.