From d4acc24f574e6fc506a5ee1a8fd498aeffd00c1e Mon Sep 17 00:00:00 2001 From: Alexander Steiner Date: Sat, 8 Jul 2023 13:36:50 +0200 Subject: [PATCH] Bump up Swift verison to 5.8 --- Dockerfile | 2 +- Package.swift | 2 +- README.md | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3553ec4..2b8e5f4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # ================================ # Build image # ================================ -FROM swift:5.6-focal as build +FROM swift:5.8-focal as build # Install OS updates and, if needed, sqlite3 RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true \ diff --git a/Package.swift b/Package.swift index cb5b720..d1afaa5 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:5.6 +// swift-tools-version:5.8 import PackageDescription let package = Package( diff --git a/README.md b/README.md index a051545..b11997e 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Reverse Geocoding Service -[![Language](https://img.shields.io/badge/Swift-5.6-brightgreen.svg)](http://swift.org) +[![Language](https://img.shields.io/badge/Swift-5.8-brightgreen.svg)](http://swift.org) [![Vapor Version](https://img.shields.io/badge/Vapor-4-F6CBCA.svg)](http://vapor.codes) ## Introduction @@ -41,7 +41,7 @@ This is an example response for the *GET* query on `http://localhost:8080/locati This request will return a nullified coordiante object in the response due to multiple input coordinates. ## Requirements -- Swift 5.6 is used with Vapor 4. +- Swift 5.8 is used with Vapor 4. - Postgres with PostGIS is used for data storage and queries. - Redis is used as a caching layer to improve performance. - A docker-compose file is placed in the root directory. See the docker section for further steps with docker.