fix: ensure stream is closed after being read from app-dev's GetDefinitions method #4379
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: Dotnet format check | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- 'backend/**' | |
pull_request: | |
branches: [ main ] | |
types: [opened, synchronize, reopened] | |
paths: | |
- 'backend/**' | |
workflow_dispatch: | |
jobs: | |
dotnet-format-check: | |
name: Format check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: | | |
9.0.x | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis | |
- name: FormatCheck | |
run: | | |
dotnet format backend/Designer.sln --verify-no-changes |