Skip to content

Format

Format #63

Workflow file for this run

name: dotnet format
on:
push:
paths:
- "**.cs"
- ".editorconfig"
jobs:
check-format:
runs-on: ubuntu-latest
steps:
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: '7.0.x'
- name: Install dotnet-format tool
run: dotnet tool install -g dotnet-format
- name: Check out code
uses: actions/checkout@v2
- name: Run dotnet format
run: dotnet-format --folder client/Assets/Scripts --check --verbosity n