-
Notifications
You must be signed in to change notification settings - Fork 0
Update GitHub Actions runners to latest platforms and simplify workflow #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: mikelrob <3390342+mikelrob@users.noreply.github.com>
|
@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>
Done in commit 14611a6. The workflow now has a simplified |
mikelrob
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
|
@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>
mikelrob
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Updates all GitHub Actions jobs in
swift.ymlto use current platform versions instead of deprecated runners and simplifies the workflow configuration.Changes
macos-10.15→macos-latest(lint, build-xcode-latest)ubuntu-20.04→ubuntu-latest(build-linux)build-xc12_2-betajobbuild-xc12tobuild-xcode-latestcirruslabs/swiftlint-action@v1GitHub action instead of running swiftlint directlyThe 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
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.