style: format code with ClangFormat, dotnet-format, Go fmt, Gofumpt, isort, PHP CS Fixer, RuboCop, Ruff Formatter, Rustfmt, StandardRB and swift-format #2522
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: C# linting | |
on: | |
workflow_dispatch: | |
pull_request: | |
jobs: | |
csharp-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
- name: .NET restore | |
run: dotnet tool restore | |
- name: CSharpier format check | |
run: | | |
dotnet csharpier . --check | |
echo "run 'dotnet build' to fix the formatting of the code automatically" |