Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 19, 2025

Updates all GitHub Actions jobs in swift.yml to use current platform versions instead of deprecated runners and simplifies the workflow configuration.

Changes

  • macOS jobs: macos-10.15macos-latest (lint, build-xcode-latest)
  • Linux job: ubuntu-20.04ubuntu-latest (build-linux)
  • Removed build-xc12_2-beta job
  • Removed explicit Xcode version selection step
  • Renamed build-xc12 to build-xcode-latest
  • Updated lint job to use cirruslabs/swiftlint-action@v1 GitHub action instead of running swiftlint directly

The workflow now uses the default Xcode version available on the latest macOS runners, simplifying maintenance and ensuring compatibility with the most recent toolchain.

Original prompt

On swift.yml, Update the runs-on to use latest platforms


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: mikelrob <3390342+mikelrob@users.noreply.github.com>
Copilot AI changed the title [WIP] Update runs-on to use latest platforms in swift.yml Update GitHub Actions runners to latest platforms Nov 19, 2025
Copilot AI requested a review from mikelrob November 19, 2025 14:09
@mikelrob
Copy link
Owner

@copilot Remove the build-xc12_2-beta job. Then Remove the xcode-select step from the build-xc12. Then rename the build-xc12 to build-xcode-latest

… build-xcode-latest

Co-authored-by: mikelrob <3390342+mikelrob@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Nov 19, 2025

@copilot Remove the build-xc12_2-beta job. Then Remove the xcode-select step from the build-xc12. Then rename the build-xc12 to build-xcode-latest

Done in commit 14611a6. The workflow now has a simplified build-xcode-latest job that uses the default Xcode version on macos-latest without explicit version selection.

Copilot AI changed the title Update GitHub Actions runners to latest platforms Update GitHub Actions runners to latest platforms and simplify workflow Nov 19, 2025
Copy link
Owner

@mikelrob mikelrob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@mikelrob
Copy link
Owner

@copilot The lint job doesnt work. Replace the swiftlint step with the github action cirruslabs/swiftlint-action@v1

Co-authored-by: mikelrob <3390342+mikelrob@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Nov 19, 2025

@copilot The lint job doesnt work. Replace the swiftlint step with the github action cirruslabs/swiftlint-action@v1

Fixed in commit d5d331c. The lint job now uses the cirruslabs/swiftlint-action@v1 GitHub action instead of running swiftlint directly.

Copy link
Owner

@mikelrob mikelrob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mikelrob mikelrob marked this pull request as ready for review November 19, 2025 14:50
@mikelrob mikelrob merged commit 3068afd into master Nov 19, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants