-
Notifications
You must be signed in to change notification settings - Fork 6
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
Migrate CI to use swiftlang / SwiftNIO common GitHub Actions. #9
Conversation
@@ -0,0 +1,37 @@ | |||
name: Soundness |
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.
Can we inline this in pull_request.yml
?
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.
We can but then it won't display as PR / Soundness / Swift license headers check (pull_request)
as the other soundness and license header checks do, that's the reason for the split-out.
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.
What would it display as?
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.
I think PR / Swift license headers check (pull_request)
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.
I thought grouping the like-checks was nice. So that both license header checks appeared in the same part of the hierarchy and are grouped if you look at the Checks
tab.
8c94dde
to
f84c920
Compare
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.
One questions. Looks great though, thanks @rnro
Motivation: * Reduce duplication * Centralise boilerplate changes when new Swift versions are picked up. * Benefit from centralised work to add new linting / test infrastructure. Modifications: Changes of note: * Use soundness checks from swiftlang/github-workflows. * Retain bespoke license-checking code for .swift files as the gRPC header style is very different to most templates. Result: More test, linting, formatting coverage. More common CI with other Swift on Server projects.
f84c920
to
3d5c28a
Compare
82e097e
to
bc39a3e
Compare
Motivation:
Modifications:
Changes of note:
Result:
More test, linting, formatting coverage. More common CI with other Swift on Server projects.