mattpolzin / OpenAPIKit

Codable Swift OpenAPI implementation.
MIT License
280 stars 35 forks source link

Update GitHub Action to Test on Swift 5.5 and Higher #230

Closed PSchmiedmayer closed 3 years ago

PSchmiedmayer commented 3 years ago

As noted in #224, OpenAPIKit fails to build on Linux using Swift 5.4.

The workaround documented in #224 to pass the -Xswiftc -Xfrontend -Xswiftc -sil-verify-none is gladly no longer needed for the latest nightly builds of Swift 5.5 👍 This is verified by the GitHub Action run documented in my fork at: https://github.com/PSchmiedmayer/OpenAPIKit .

This PR adds the corresponding builds to the Test GitHub Action to verify that behavior in the main repo. This PR therefore somehow closes #224 as a future Swift version will solve that issue. It also solves the issue in our Apodini and we will remove the additional flags in a corresponding PR as well: Apodini/Apodini#344