Skip to content

Commit ecc587a

Browse files
committed
Add Swift 5.2.4
1 parent b5d6f37 commit ecc587a

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
strategy:
2424
matrix:
2525
os: [ubuntu-latest, macos-latest]
26-
swift: ["5.2.1", "4.2.4"]
26+
swift: ["5.2.4", "4.2.4"]
2727
steps:
2828
- uses: actions/checkout@v2
2929
- run: npm install

__tests__/swift-versions.test.ts

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

2424
it("identifies X versions", async () => {
2525
const version = await versions.verify("5");
26-
expect(version).toBe("5.2.2");
26+
expect(version).toBe("5.2.4");
2727
});
2828

2929
it("throws an error if version is invalid", 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 AVAILABLE_VERSIONS = [
6+
"5.2.4",
67
"5.2.2",
78
"5.2.1",
89
"5.2",

0 commit comments

Comments
 (0)