Skip to content

Commit 26badc9

Browse files
committed
Add Swift 5.9
1 parent cdcbe8e commit 26badc9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

__tests__/swift-versions.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ describe("swift version resolver", () => {
2828

2929
it("identifies X versions", async () => {
3030
const version = await versions.verify("5", macOS);
31-
expect(version).toBe("5.8.1");
31+
expect(version).toBe("5.9");
3232
});
3333

3434
it("identifies versions based on system", async () => {

src/swift-versions.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import * as core from "@actions/core";
33
import { System, OS } from "./os";
44

55
const VERSIONS_LIST: [string, OS[]][] = [
6+
["5.9", [OS.MacOS, OS.Ubuntu]],
67
["5.8.1", [OS.MacOS, OS.Ubuntu]],
78
["5.8", [OS.MacOS, OS.Ubuntu]],
89
["5.7.3", [OS.MacOS, OS.Ubuntu]],

0 commit comments

Comments
 (0)