feat: Add format check step to CI workflows for .NET project

This commit is contained in:
HueByte
2026-02-19 10:12:34 +01:00
parent 9975f4e4be
commit c553705c32
2 changed files with 31 additions and 3 deletions
+15 -1
View File
@@ -14,9 +14,23 @@ jobs:
- name: Run markdownlint
run: bash scripts/lint-markdown.sh
format-check:
name: Format Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET 10
uses: actions/setup-dotnet@v4
with:
dotnet-version: '10.0.x'
- name: Check formatting
run: dotnet format src/EchoHub.slnx --verify-no-changes --verbosity diagnostic
test:
name: Build & Test
needs: lint-markdown
needs: [lint-markdown, format-check]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4