Skip to content

Commit fa1fffc

Browse files
committed
Update documents and Fix test
1 parent 43cd9fc commit fa1fffc

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

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%20%7C%20Windows-lightgray" alt="Supports macOS, Ubuntu & Windows" />
88
</a>
99
<a href="https://swift.org">
10-
<img src="https://img.shields.io/badge/Swift-5.7.3-F05138?logo=swift&logoColor=white" alt="Swift 5.7.3" />
10+
<img src="https://img.shields.io/badge/Swift-5.8-F05138?logo=swift&logoColor=white" alt="Swift 5.8" />
1111
</a>
1212
<a href="https://github.com/swift-actions/setup-swift/releases/latest">
1313
<img src="https://img.shields.io/github/v/release/swift-actions/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: swift-actions/setup-swift@v1
3030
- name: Get swift version
31-
run: swift --version # Swift 5.7.3
31+
run: swift --version # Swift 5.8
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 using this as value for `sw
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.7.3`)
71+
- `"5"` will resolve to latest minor and patch version (aka `5.8`)
7272

7373
### Caveats
7474

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

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

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ inputs:
55
swift-version:
66
description: Swift version to configure
77
required: true
8-
default: '5.7.3'
8+
default: '5.8'
99
outputs:
1010
version:
1111
description: The full Swift version that was configured

0 commit comments

Comments
 (0)