Skip to content

Commit 1886e5d

Browse files
committed
Set CI Swift versions to 5.10
1 parent bc40f48 commit 1886e5d

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

Diff for: .github/workflows/swift-linux.yml

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
jobs:
99
build:
1010
runs-on: ubuntu-latest
11+
container:
12+
image: swift:5.10.0
13+
1114
steps:
1215
- name: Swift version
1316
run: swift --version

Diff for: .github/workflows/swift-macos.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@ on:
77

88
jobs:
99
build:
10-
runs-on: macos-latest
10+
runs-on: macos-15
1111
steps:
12-
- name: List Xcode versions
13-
run: ls /Applications | grep Xcode
12+
- name: Setup Xcode version
13+
uses: maxim-lobanov/[email protected]
14+
with:
15+
xcode-version: '15.4' # contains Swift 5.10.0
1416

1517
- name: Swift version
1618
run: swift --version

Diff for: .github/workflows/swift-windows.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,15 @@ jobs:
2020
- name: Setup
2121
uses: compnerd/[email protected]
2222
with:
23-
branch: swift-5.10-release
24-
tag: 5.10-RELEASE
23+
branch: swift-5.10.0-release
24+
tag: 5.10.0-RELEASE
2525

2626
- name: Checkout
2727
uses: actions/checkout@v4
2828

29+
- name: Swift version
30+
run: swift --version
31+
2932
- name: Build
3033
run: |
3134
Set-StrictMode -Version Latest

0 commit comments

Comments
 (0)