Skip to content

Commit c451d2c

Browse files
authored
Merge pull request #499 from keith/ks/add-5.7.1
Add 5.7.1 support
2 parents 5cdaa91 + 97aa676 commit c451d2c

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ jobs:
2323
strategy:
2424
matrix:
2525
os: [ubuntu-latest, macos-latest]
26-
swift: ["5.7"]
26+
swift: ["5.7.1"]
2727
include:
2828
- os: macos-12
29-
swift: "5.7"
29+
swift: "5.7.1"
3030
- os: ubuntu-22.04
31-
swift: "5.7"
31+
swift: "5.7.1"
3232
- os: windows-latest
3333
swift: "5.6.3"
3434
steps:

__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.7");
31+
expect(version).toBe("5.7.1");
3232
});
3333

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

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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.7.1", [OS.MacOS, OS.Ubuntu]],
67
["5.7", [OS.MacOS, OS.Ubuntu]],
78
["5.6.3", OS.all()],
89
["5.6.2", OS.all()],

0 commit comments

Comments
 (0)