mirror of
https://github.com/Facepunch/sbox-public.git
synced 2025-12-23 22:48:07 -05:00
gha: do formatting step in seperate cloud runner in parallel (#3521)
This commit is contained in:
@@ -9,19 +9,6 @@ internal class PullRequest
|
||||
{
|
||||
var builder = new PipelineBuilder( "Pull Request" );
|
||||
|
||||
// Add format steps - allow them to fail
|
||||
// Linux formatting complains about line endings, it's probably enough if we run this windows only anyway
|
||||
if ( OperatingSystem.IsWindows() )
|
||||
{
|
||||
builder.AddStepGroup( "Format",
|
||||
[
|
||||
new Format( "Format Engine", Solutions.Engine, Format.Mode.Full, verifyOnly: true ),
|
||||
new Format( "Format Editor", Solutions.Toolbase, Format.Mode.Whitespace, verifyOnly: true ),
|
||||
new Format( "Format Menu", Solutions.Menu, Format.Mode.Whitespace, verifyOnly: true ),
|
||||
new Format( "Format Build Tools", Solutions.BuildTools, Format.Mode.Full, verifyOnly: true )
|
||||
], continueOnFailure: true );
|
||||
}
|
||||
|
||||
// Add other steps
|
||||
builder.AddStepGroup( "CodeGen",
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user