diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e496a0d6..de49d727 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest] - swift: ["5.4.3"] + swift: ["5.5"] steps: - uses: actions/checkout@v2 - run: npm install diff --git a/.github/workflows/stability.yml b/.github/workflows/stability.yml index d899de07..e507f506 100644 --- a/.github/workflows/stability.yml +++ b/.github/workflows/stability.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest] - swift: ["5.4.3"] + swift: ["5.5"] steps: - uses: fwal/setup-swift@v1 with: @@ -26,7 +26,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest] - swift: ["5.4.3"] + swift: ["5.5"] steps: - uses: fwal/setup-swift@main with: diff --git a/README.md b/README.md index 273a34c5..4c6e387b 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ After the environment is configured you can run swift commands using the standar ```yaml - uses: fwal/setup-swift@v1 - name: Get swift version - run: swift --version # Swift 5.4.3 + run: swift --version # Swift 5.5 ``` A specific Swift version can be set using the `swift-version` input: @@ -68,11 +68,11 @@ For example, Swift is available as version `5.1` but this will be interpreted as In other words specifying... - `"5.1.0"` will resolve to version `5.1` - `"5.1"` will resolve to latest patch version (aka `5.1.1`) -- `"5"` will resolve to latest minor and patch version (aka `5.4.3`) +- `"5"` will resolve to latest minor and patch version (aka `5.5`) ### Caveats -YAML interprets eg. `5.0` as a float, this action will then interpret that as `5` which will result in eg. Swift 5.4.3 being resolved. Quote your inputs! Thus: +YAML interprets eg. `5.0` as a float, this action will then interpret that as `5` which will result in eg. Swift 5.5 being resolved. Quote your inputs! Thus: ``` - uses: fwal/setup-swift@v1 diff --git a/action.yml b/action.yml index 98c8bac8..e95dcbea 100644 --- a/action.yml +++ b/action.yml @@ -5,7 +5,7 @@ inputs: swift-version: description: Swift version to configure required: true - default: '5.4.3' + default: '5.5' outputs: version: description: The full Swift version that was configured