apple / swift-openapi-urlsession

URLSession transport for Swift OpenAPI Generator.
https://swiftpackageindex.com/apple/swift-openapi-urlsession/documentation
Apache License 2.0
160 stars 29 forks source link

Enable strict concurrency checking in CI #11

Closed czechboy0 closed 1 year ago

czechboy0 commented 1 year ago

Motivation

To further avoid concurrency bugs, enable complete concurrency checking in CI.

Modifications

Added the compiler flag to the docker-compose scripts.

Result

If a warning of this nature comes up, because we have warnings-as-errors, it'll fail CI.

Test Plan

Locally built without any warnings with the flag enabled.

czechboy0 commented 1 year ago

@glbrntt My original PR only tested on macOS, and didn't fix tests. Now both Linux and tests are fixed up, the diff is a little larger.