-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Issue 2551 check dependencies failure #45
Conversation
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 could have a snapshot test of the output from dump-package
run on a non-trivial package. There would be a lot of artefacts for that test, and it might be slow to run, so it could even be a separate CI stage that just does that one job, and only run on CI, maybe.
I'm not sure what the up-to-date plans are with deprecating |
|
Yeah, although we'd have to do that in SPI-Server, not here, because we hardly ever update validator and wouldn't notice. |
Yes, sorry. I didn't say it, but I meant for it to be in the context of SPI-Server 👍 That way, as the base image moves forward, we're covered |
I believe this changed when we adopted Swift 5.9 for validation. There's been a subtle format change in the package dump json from
to
which tripped us up. We're now supporting both versions.
I've made a note to try and detect changes like this somehow between Swift versions.
Fixes SwiftPackageIndex/SwiftPackageIndex-Server#2551