CI: Move format_check to build stage as it can be run there.
Currently the format_check
CI runs in the second stage after the build
stage succeeds. However it does not have any dependencies on any of the build tests.
This MR moves the format_check
to the build
stage to allow early feedback on formatting.