Skip to content

Commit

Permalink
Merge pull request #689 from SwiftFiddle/swift59
Browse files Browse the repository at this point in the history
Add Swit 5.9
  • Loading branch information
kishikawakatsumi authored Sep 25, 2023
2 parents 8abf397 + 0660cc3 commit 39b1d02
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
{}
{
"lldb.library": "/Applications/Xcode-14.3.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/LLDB",
"lldb.launch.expressions": "native"
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<p>
<img src="https://img.shields.io/badge/os-macOS/Linux-green.svg?style=flat" alt="macOS/Linux">
<a href="http://swift.org">
<img src="https://img.shields.io/badge/swift-5.8.1-orange.svg?style=flat" alt="Swift 5.8.1 Compatible">
<img src="https://img.shields.io/badge/swift-5.9-orange.svg?style=flat" alt="Swift 5.9 Compatible">
</a>
<a href="https://github.com/swiftfiddle/swiftfiddle-web/blob/master/LICENSE">
<img src="https://img.shields.io/badge/license-MIT-yellow.svg?style=flat" alt="MIT">
Expand Down
3 changes: 2 additions & 1 deletion Sources/App/versions.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Foundation

func latestVersion() throws -> String { try availableVersions()[0] }
func stableVersion() -> String { "5.8.1" }
func stableVersion() -> String { "5.9" }

func availableVersions() throws -> [String] {
[
Expand All @@ -14,6 +14,7 @@ func availableVersions() throws -> [String] {
"nightly-5.5",
"nightly-5.4",
"nightly-5.3",
"5.9",
"5.8.1",
"5.8",
"5.7.3",
Expand Down
2 changes: 1 addition & 1 deletion k8s/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ spec:
name: runner-vnightly-main
port:
number: 80
- path: /runner/5.8.1/.*
- path: /runner/5.9/.*
pathType: Prefix
backend:
service:
Expand Down

0 comments on commit 39b1d02

Please sign in to comment.