Skip to content

Commit 0a6344e

Browse files
author
Petr Sramek
committed
fixed
1 parent a94c2d0 commit 0a6344e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/format-cs-files.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,16 @@ jobs:
3434
with:
3535
dotnet-version: ${{ vars.DOTNET_SDK_VERSION }}
3636
- run: |
37-
dotnet format style --no-restore --verify-no-changes --verbosity diagnostic
38-
dotnet format analyzers --no-restore --verify-no-changes --diagnostics IDE0073 --verbosity diagnostic
37+
dotnet format style --verify-no-changes --verbosity diagnostic
38+
dotnet format analyzers --verify-no-changes --diagnostics IDE0073 --verbosity diagnostic
3939
echo "has-changes=true" >> "$GITHUB_OUTPUT"
4040
id: validate
4141
continue-on-error: true
4242
working-directory: ${{ github.workspace }}
4343
- run: echo ${{ steps.validate.outputs.has-changes }}
4444
- run: |
45-
dotnet format style
46-
dotnet format analyzers --no-restore --diagnostics IDE0073 --verbosity diagnostic
45+
dotnet format style --verbosity diagnostic
46+
dotnet format analyzers --diagnostics IDE0073 --verbosity diagnostic
4747
name: Apply style formatting and file header rule
4848
if: ${{ fromJSON(steps.validate.outputs.has-changes) }}
4949
working-directory: ${{ github.workspace }}

0 commit comments

Comments
 (0)