Skip to content

Add system Reboot() and Shutdown() for x64 and ARM64 #1403

Add system Reboot() and Shutdown() for x64 and ARM64

Add system Reboot() and Shutdown() for x64 and ARM64 #1403

Workflow file for this run

name: .NET Format
on:
push:
branches: [ "main" ]
paths-ignore:
- 'docs/**'
- '*.md'
pull_request:
branches: [ "**" ]
paths-ignore:
- 'docs/**'
- '*.md'
jobs:
format:
name: Check Code Formatting
runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: [ 10.0.x ]
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Compile Packages
run: ./.devcontainer/postCreateCommand.sh
- name: Restore Dependencies
run: dotnet restore ./nativeaot-patcher.slnx
- name: Check Formatting
run: dotnet format ./nativeaot-patcher.slnx --exclude dotnet --verify-no-changes --severity error || { echo "::error file=Code Formatting::Some files need formatting. Run 'dotnet format' locally."; exit 1; }