Skip to content

Commit

Permalink
Add 5.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
keith committed Nov 7, 2022
1 parent 5cdaa91 commit 34ff090
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ 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"
swift: "5.7.1"
steps:
- uses: actions/checkout@v3
- run: npm install
Expand Down
2 changes: 1 addition & 1 deletion __tests__/swift-versions.test.ts
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 34ff090

Please sign in to comment.