Skip to content

Commit 4c5aa2a

Browse files
authored
Merge pull request #63 from fwal/swift/5.2.4
Add Swift 5.2.4
2 parents b5d6f37 + 96746e5 commit 4c5aa2a

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
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

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<img src="https://img.shields.io/badge/platform-macOS%20%7C%20Ubuntu-lightgray" alt="Supports macOS and Ubuntu" />
88
</a>
99
<a href="https://swift.org">
10-
<img src="https://img.shields.io/badge/Swift-5.2.2-F05138?logo=swift&logoColor=white" alt="GitHub Action" />
10+
<img src="https://img.shields.io/badge/Swift-5.2.4-F05138?logo=swift&logoColor=white" alt="GitHub Action" />
1111
</a>
1212
<a href="https://github.com/fwal/setup-swift/releases/latest">
1313
<img src="https://img.shields.io/github/v/release/fwal/setup-swift?sort=semver" alt="Latest release" />
@@ -28,7 +28,7 @@ After the environment is configured you can run swift commands using the standar
2828
```yaml
2929
- uses: fwal/setup-swift@v1
3030
- name: Get swift version
31-
run: swift --version # Swift 5.2.2
31+
run: swift --version # Swift 5.2.4
3232
```
3333

3434
A specific Swift version can be set using the `swift-version` input:
@@ -68,7 +68,7 @@ For example, Swift is available as version `5.1` but this will be interpreted as
6868
In other words specifying...
6969
- `"5.1.0"` will resolve to version `5.1`
7070
- `"5.1"` will resolve to latest patch version (aka `5.1.1`)
71-
- `"5"` will resolve to latest minor and patch version (aka `5.2.2`)
71+
- `"5"` will resolve to latest minor and patch version (aka `5.2.4`)
7272

7373

7474
## Legal

__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)