Today it is possible to do swift run <SnippetName> if they are present in the Swift package. It would be great to have the ability to verify that the Snippets work cross-platform, and the best way I see is to allow doing this in GitHub pipelines.
Thinking about it, I believe it would make sense to have a configuration option which Snippets to run. I don't think there is a way now to run all snippets in one swift call anyway.
Background info: the pitch about snippets is here, and should be implemented in 5.7, so all supported versions in this workflow should be able to run them.
Will there be interest in such a feature?
Today it is possible to do
swift run <SnippetName>if they are present in the Swift package. It would be great to have the ability to verify that the Snippets work cross-platform, and the best way I see is to allow doing this in GitHub pipelines.Thinking about it, I believe it would make sense to have a configuration option which Snippets to run. I don't think there is a way now to run all snippets in one
swiftcall anyway.Background info: the pitch about snippets is here, and should be implemented in 5.7, so all supported versions in this workflow should be able to run them.
Will there be interest in such a feature?