Skip to content

Commit c85afe9

Browse files
committed
feat: update lint workflow to use analyzer formatting
1 parent 0378a41 commit c85afe9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/reusable-lint-cs-files.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ jobs:
133133
- name: Collect Style Violations Log
134134
id: violations-log
135135
run: |
136-
output=$(dotnet format style TempProject.csproj --verify-no-changes 2>&1 || echo "Style violation detected")
137-
136+
output=$(dotnet format analyzers TempProject.csproj --verify-no-changes 2>&1 || echo "Style violation detected")
137+
138138
if [ -z "$output" ]; then
139139
echo "::notice::No issues were found in the code"
140140
exit 0

0 commit comments

Comments
 (0)