CI - is it possible to add CI checks with GitHub Actions?

This is more about the CI setup than DocC, but spurred from a DocC issue (fatal compiler error on swift 5.7 and Swift 5.8 · Issue #94 · swiftlang/swift-docc-plugin · GitHub). /cc @mishal_shah

We’ve been stumbling a bit with updates that aren’t compatible with earlier swift compilers, and @Kyle-Ye was asking in a chat channel if GitHub actions were possible/compatible for repos in swiftlang and compatible with the current flow of checks?

We’d like to add a GH action that verifies the plugin updates against Swift 5.6-6.0, to avoid the stumbles we’re hitting. Is that a possibility?

1 Like

Have requested it before on swift-playdate-examples. No follow-up then since it was just a small optimization.

But we have encounter several accident breaking on DocC project. So it becomes into our eye again.

Does it just a toggle that repository admins can choose to enable?

Or something more needs to be done here to make GitHub Action and Swift CI coexist as a PR pipeline check?

For the playdate repo, we were not able to use GitHub Actions at the time. Now we can, (see swift-nio and swift-mmio adopting them)

2 Likes

We are working on rolling out GitHub Actions on swiftlang org. Once it is ready, we will provide more details. Currently, I don't have an ETA. However, it should be within a few weeks.

4 Likes