Skip to content

ci: Code formatting

ci: Code formatting #1

Workflow file for this run

name: Format check
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
dotnet-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Add dotnet-format problem matcher
uses: xt0rted/dotnet-format-problem-matcher@v1
- name: Restore dotnet tools
uses: xt0rted/dotnet-tool-restore@v1
- name: Run dotnet format
uses: xt0rted/dotnet-format@v1