Skip to content

Commit 909c868

Browse files
committed
Test Linux against Swift 5.7
Currently only macOS supports 5.7.1
1 parent ce90479 commit 909c868

8 files changed

+16
-8
lines changed

.github/workflows/__export-file-baseline-information.yml

+2-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__multi-language-autodetect.yml

+2-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__swift-autobuild.yml

+2-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__swift-custom-build.yml

+2-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pr-checks/checks/export-file-baseline-information.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ description: "Tests that file baseline information is exported when the feature
33
versions: ["nightly-latest"]
44
steps:
55
- uses: swift-actions/setup-swift@5cdaa9161ad1f55ae39a5ea1784ef96de72f95d9
6-
if: runner.os != 'Windows' && matrix.version == 'cached'
6+
# Windows doesn't support Swift, and only macOS latest and nightly-latest support Swift 5.7.1.
7+
if: runner.os == 'Linux' || (runner.os == 'macOS' && matrix.version == 'cached')
78
with:
89
swift-version: "5.7"
910
- uses: ./../action/init

pr-checks/checks/multi-language-autodetect.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ env:
55
CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT: "true" # Remove when Swift is GA.
66
steps:
77
- uses: swift-actions/setup-swift@5cdaa9161ad1f55ae39a5ea1784ef96de72f95d9
8-
if: matrix.version == 'cached'
8+
# Only macOS latest and nightly-latest support Swift 5.7.1
9+
if: runner.os == 'Linux' || matrix.version == 'cached'
910
with:
1011
swift-version: "5.7"
1112

pr-checks/checks/swift-autobuild.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ env:
77
CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT: "true"
88
steps:
99
- uses: swift-actions/setup-swift@5cdaa9161ad1f55ae39a5ea1784ef96de72f95d9
10-
if: matrix.version == 'cached'
10+
# Only macOS latest and nightly-latest support Swift 5.7.1
11+
if: runner.os == 'Linux' || matrix.version == 'cached'
1112
with:
1213
swift-version: "5.7"
1314
- uses: ./../action/init

pr-checks/checks/swift-custom-build.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ env:
77
DOTNET_GENERATE_ASPNET_CERTIFICATE: "false"
88
steps:
99
- uses: swift-actions/setup-swift@5cdaa9161ad1f55ae39a5ea1784ef96de72f95d9
10-
if: matrix.version == 'cached'
10+
# Only macOS latest and nightly-latest support Swift 5.7.1
11+
if: runner.os == 'Linux' || matrix.version == 'cached'
1112
with:
1213
swift-version: "5.7"
1314
- uses: ./../action/init

0 commit comments

Comments
 (0)