Skip to content

Commit

Permalink
Merge pull request #499 from keith/ks/add-5.7.1
Browse files Browse the repository at this point in the history
Add 5.7.1 support
  • Loading branch information
fwal committed Nov 28, 2022
2 parents 5cdaa91 + 97aa676 commit c451d2c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Expand Up @@ -23,12 +23,12 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
swift: ["5.7"]
swift: ["5.7.1"]
include:
- os: macos-12
swift: "5.7"
swift: "5.7.1"
- os: ubuntu-22.04
swift: "5.7"
swift: "5.7.1"
- os: windows-latest
swift: "5.6.3"
steps:
Expand Down
2 changes: 1 addition & 1 deletion __tests__/swift-versions.test.ts
Expand Up @@ -28,7 +28,7 @@ describe("swift version resolver", () => {

it("identifies X versions", async () => {
const version = await versions.verify("5", macOS);
expect(version).toBe("5.7");
expect(version).toBe("5.7.1");
});

it("identifies versions based on system", async () => {
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/swift-versions.ts
Expand Up @@ -3,6 +3,7 @@ import * as core from "@actions/core";
import { System, OS } from "./os";

const VERSIONS_LIST: [string, OS[]][] = [
["5.7.1", [OS.MacOS, OS.Ubuntu]],
["5.7", [OS.MacOS, OS.Ubuntu]],
["5.6.3", OS.all()],
["5.6.2", OS.all()],
Expand Down

0 comments on commit c451d2c

Please sign in to comment.