mirror of
https://github.com/Facepunch/sbox-public.git
synced 2026-02-28 12:27:57 -05:00
33 lines
710 B
YAML
33 lines
710 B
YAML
name: Pull Request Checks
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
format:
|
|
runs-on: [ windows-latest ]
|
|
steps:
|
|
- name: Full 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
|
|
|
|
- name: Bootstrap
|
|
run: .\Bootstrap.bat
|
|
|
|
- name: Test
|
|
run: dotnet run --project .\engine\Tools\SboxBuild\SboxBuild.csproj -- test
|