Skip to content

Commit 4f2461d

Browse files
committed
Switch to fwal/setup-swift
1 parent 754b3ca commit 4f2461d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,13 @@ jobs:
1111
matrix:
1212
# https://github.com/actions/virtual-environments
1313
os: [macos-latest, ubuntu-latest]
14+
swift-version: ['6.0', '6.1']
1415
runs-on: ${{ matrix.os }}
1516
steps:
1617
- uses: actions/checkout@v4
17-
- uses: swift-actions/setup-swift@v2
18+
- uses: fwal/setup-swift@v2
1819
with:
19-
swift-version: "6.0"
20+
swift-version: ${{ matrix.swift-version }}
2021
- name: Echo Swift version
2122
run: swift --version
2223
- name: Check a Release build
@@ -27,12 +28,13 @@ jobs:
2728
matrix:
2829
# https://github.com/actions/virtual-environments
2930
os: [macos-latest, ubuntu-latest]
31+
swift-version: ['6.0', '6.1']
3032
runs-on: ${{ matrix.os }}
3133
steps:
3234
- uses: actions/checkout@v4
33-
- uses: swift-actions/setup-swift@v2
35+
- uses: fwal/setup-swift@v2
3436
with:
35-
swift-version: "6.0"
37+
swift-version: ${{ matrix.swift-version }}
3638
- name: Echo Swift version
3739
run: swift --version
3840
- name: Test

0 commit comments

Comments
 (0)