sbox-public: run formatting on it's own runner

This commit is contained in:
Matt Stevens
2025-11-30 13:18:17 +00:00
parent 7f4ef9eed9
commit 9d3f9ca647
2 changed files with 27 additions and 2 deletions

View File

@@ -22,8 +22,6 @@ jobs:
with:
dotnet-version: '10.0.x'
- name: Format
run: dotnet run --project .\engine\Tools\SboxBuild\SboxBuild.csproj -- format --verify
- name: Bootstrap
run: .\Bootstrap.bat

27
public/.github/workflows/formatting.yml vendored Normal file
View File

@@ -0,0 +1,27 @@
name: Formatting
on:
pull_request:
branches: [ master ]
permissions:
contents: read
jobs:
format:
runs-on: [ windows-latest ]
steps:
- name: Checkout
uses: actions/checkout@v4
with:
clean: true
fetch-depth: 1
persist-credentials: false
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: '10.0.x'
- name: Format
run: dotnet run --project .\engine\Tools\SboxBuild\SboxBuild.csproj -- format --verify