Skip to content

Commit

Permalink
Swift 5.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Full Queue Developer authored and Full Queue Developer committed Feb 18, 2024
1 parent 465f287 commit b2a75ab
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ jobs:
steps:
- uses: swift-actions/setup-swift@v1
with:
swift-version: "5.7"
swift-version: "5.9"
- run: swift --version
- uses: actions/checkout@v3
- run: swift build -c release
Expand Down Expand Up @@ -151,7 +151,7 @@ jobs:
steps:
- uses: swift-actions/setup-swift@v1
with:
swift-version: "5.7"
swift-version: "5.9"
- run: swift --version
- uses: actions/checkout@v3
- run: swift run FQAuthServer migrate -y --env test
Expand Down Expand Up @@ -187,7 +187,7 @@ jobs:

- uses: swift-actions/setup-swift@v1
with:
swift-version: "5.7"
swift-version: "5.9"
- run: swift --version
- uses: shogo82148/actions-setup-redis@v1
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM index.docker.io/library/swift:5.7-jammy as builder
FROM index.docker.io/library/swift:5.9-jammy as builder
WORKDIR /src
COPY ./Package.* ./
COPY ./Sources ./Sources
Expand Down
10 changes: 5 additions & 5 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.7
// swift-tools-version:5.9

import PackageDescription

Expand All @@ -11,9 +11,9 @@ let package = Package(
.executable(name: "FQAuthServer", targets: ["FQAuthServer"]),
],
dependencies: [

.package(url: "https://github.com/FullQueueDeveloper/FQAuthMiddleware.git", from: "0.1.2"),

.package(url: "https://github.com/vapor/vapor.git", from: "4.65.1"),
.package(url: "https://github.com/vapor/jwt.git", from: "4.2.1"),

Expand All @@ -38,11 +38,11 @@ let package = Package(

.product(name: "Redis", package: "redis"),
.product(name: "QueuesRedisDriver", package: "queues-redis-driver"),

.product(name: "FQAuthMiddleware", package: "FQAuthMiddleware"),

.product(name: "Leaf", package: "leaf"),

"Sh",
],
swiftSettings: [
Expand Down

0 comments on commit b2a75ab

Please sign in to comment.