Skip to content

Commit ab7ad95

Browse files
committed
Swift 6.3
1 parent 999ea9b commit ab7ad95

6 files changed

Lines changed: 9 additions & 7 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,13 @@ jobs:
9191
- name: Set up Swift
9292
uses: swift-actions/setup-swift@v3
9393
with:
94-
swift-version: "6.2.3"
94+
swift-version: "6.3.0"
9595

9696
- name: Set up SwiftWasm
9797
id: swiftwasm
9898
uses: swiftwasm/setup-swiftwasm@v2.1
9999
with:
100-
tag: swift-6.2.3-RELEASE
100+
tag: swift-6.3-RELEASE
101101
target: wasm32-unknown-wasip1
102102

103103
- name: Configure AWS credentials

Backend/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM swift:6.2.4-bookworm AS build
1+
FROM swift:6.3.0-bookworm AS build
22

33
WORKDIR /app
44

@@ -12,7 +12,7 @@ COPY Tests ./Tests
1212

1313
RUN swift build -c release --product Server
1414

15-
FROM swift:6.2.4-bookworm-slim AS runtime
15+
FROM swift:6.3.0-bookworm-slim AS runtime
1616

1717
WORKDIR /app
1818

Backend/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.2
1+
// swift-tools-version: 6.3
22

33
import PackageDescription
44

BytesizedCafe/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.2
1+
// swift-tools-version: 6.3
22

33
import PackageDescription
44

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.2
1+
// swift-tools-version: 6.3
22

33
import PackageDescription
44

SPEC.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ The implementation is considered complete when:
200200

201201
### 10.1 Container Build
202202
- The backend container image is built from `Backend/` using the checked-in `Backend/Dockerfile`.
203+
- The backend container build and runtime stages pin the official `swift:6.3.0-bookworm` and `swift:6.3.0-bookworm-slim` images.
203204
- The checked-in `Backend/railway.toml` codifies the Railway deploy settings that should live in source control, currently the Dockerfile builder and `/health` healthcheck.
204205
- The deployable product is the `Server` executable.
205206
- Railway builds and runs the production image from GitHub pushes, targeting the backend service with `railway up Backend --ci --path-as-root`.
@@ -219,5 +220,6 @@ The implementation is considered complete when:
219220

220221
## 11. Local Development
221222
- A repo-root `justfile` provides the primary entry point for common local tasks such as `just wasm`, `just site`, `just site-local`, `just backend`, and `just local`, along with deployment-oriented recipes like `just site-release`, `just site-deploy`, and `just validate-deployment`.
223+
- The repo's Swift package manifests target Swift tools version `6.3`, the macOS GitHub Actions job installs Swift `6.3.0`, and the SwiftWasm site build uses the compatible `swift-6.3-RELEASE` SDK tag.
222224
- `Scripts/run-local.sh` provides a one-command local stack for development and opens the local site in the default browser after the backend and static site server are ready.
223225
- The script rebuilds the `BytesizedCafe` SwiftWASM bundle, regenerates the site with `BYTESIZED_CAFE_API_URL` pointed at a localhost backend, prebuilds the backend to avoid counting SwiftPM compilation against the startup timeout, starts the Hummingbird server, and serves `Output/` over a local static HTTP server.

0 commit comments

Comments
 (0)