File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -34,16 +34,16 @@ jobs:
34
34
with :
35
35
dotnet-version : ${{ vars.DOTNET_SDK_VERSION }}
36
36
- 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
39
39
echo "has-changes=true" >> "$GITHUB_OUTPUT"
40
40
id: validate
41
41
continue-on-error: true
42
42
working-directory: ${{ github.workspace }}
43
43
- run : echo ${{ steps.validate.outputs.has-changes }}
44
44
- 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
47
47
name: Apply style formatting and file header rule
48
48
if: ${{ fromJSON(steps.validate.outputs.has-changes) }}
49
49
working-directory: ${{ github.workspace }}
You can’t perform that action at this time.
0 commit comments