Skip to content

Merge branch 'main' into dependabot/nuget/csharpier-0.30.3 #445

Merge branch 'main' into dependabot/nuget/csharpier-0.30.3

Merge branch 'main' into dependabot/nuget/csharpier-0.30.3 #445

Workflow file for this run

name: CSharp Linting
on:
push:
workflow_dispatch:
env:
DOTNET_VERSION: '8.0.x'
jobs:
linter-check:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Dotnet 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"