Skip to content

Commit 56c2ad0

Browse files
authored
Add nightly-6.3 to our PR CI workflow and pin all workflows to a specific tag (#1443)
This modifies our pull request GitHub Actions workflow which is currently using `nightly-6.2` builds to add `nightly-6.3` as well. This is possible now that [nightly 6.3 development snapshots](https://forums.swift.org/t/swift-6-3-nightly-development-snapshots/83621) are available and swiftlang/github-workflows#206 has added the necessary workflow support logic. Additionally, this pins all of our workflows which [use](https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#jobsjob_idstepsuses) [swiftlang/github-workflows](https://github.com/swiftlang/github-workflows) to a specific tag ([`0.0.2`](https://github.com/swiftlang/github-workflows/releases/tag/0.0.2)) instead of `main`. As of swiftlang/github-workflows#196, this is now the [recommended practice](https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#jobsjob_idstepsuses) since it helps prevent breakages due to upstream changes in the workflow definition file. ### Checklist: - [x] Code and documentation should follow the style of the [Style Guide](https://github.com/apple/swift-testing/blob/main/Documentation/StyleGuide.md). - [x] If public symbols are renamed or modified, DocC references should be updated.
1 parent 3e35be3 commit 56c2ad0

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/workflows/automerge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ on:
1818
jobs:
1919
create_merge_pr:
2020
name: Create PR to merge main into release branch
21-
uses: swiftlang/github-workflows/.github/workflows/create_automerge_pr.yml@main
21+
uses: swiftlang/github-workflows/.github/workflows/create_automerge_pr.yml@0.0.2
2222
with:
2323
head_branch: main
2424
base_branch: release/6.3

.github/workflows/main_using_main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ concurrency:
1515
jobs:
1616
tests:
1717
name: Test
18-
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
18+
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@0.0.2
1919
with:
2020
linux_swift_versions: '["nightly-main"]'
2121
linux_os_versions: '["amazonlinux2", "jammy"]'

.github/workflows/main_using_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ concurrency:
1515
jobs:
1616
tests:
1717
name: Test
18-
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
18+
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@0.0.2
1919
with:
2020
linux_swift_versions: '["nightly-6.2"]'
2121
linux_os_versions: '["amazonlinux2", "jammy"]'

.github/workflows/pull_request.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ concurrency:
1414
jobs:
1515
tests:
1616
name: Test
17-
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
17+
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@0.0.2
1818
with:
19-
linux_swift_versions: '["nightly-main", "nightly-6.2"]'
19+
linux_swift_versions: '["nightly-main", "nightly-6.3", "nightly-6.2"]'
2020
linux_os_versions: '["amazonlinux2", "jammy"]'
21-
windows_swift_versions: '["nightly-main", "nightly-6.2"]'
21+
windows_swift_versions: '["nightly-main", "nightly-6.3", "nightly-6.2"]'
2222
enable_macos_checks: true
2323
macos_exclude_xcode_versions: '[{"xcode_version": "16.2"}, {"xcode_version": "16.3"}, {"xcode_version": "16.4"}]'
2424
enable_ios_checks: true
@@ -27,7 +27,7 @@ jobs:
2727
enable_android_sdk_build: true
2828
soundness:
2929
name: Soundness
30-
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main
30+
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@0.0.2
3131
with:
3232
license_header_check_project_name: "Swift"
3333
docs_check_enabled: false

0 commit comments

Comments
 (0)