enhance: only show Initialize as needed
option when it is necessary
#187
This file contains hidden or 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: Format Check | |
on: | |
push: | |
branches: [develop] | |
pull_request: | |
branches: [develop] | |
workflow_dispatch: | |
workflow_call: | |
jobs: | |
format-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 9.0.x | |
- name: Run formatting check | |
run: dotnet format --verify-no-changes |