We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cd5159 commit 0a04738Copy full SHA for 0a04738
.github/workflows/cs-linter.yml
@@ -39,13 +39,11 @@ jobs:
39
echo "$FILES"
40
echo "FILES=$FILES" >> $GITHUB_ENV
41
42
- - name: Run Roslyn Analyzers Using `dotnet format`
+ - name: Run Roslyn Analyzers Using `dotnet build`
43
continue-on-error: true # Allow warnings but don’t fail the workflow
44
run: |
45
- for file in $FILES; do
46
- echo "🔍 Running analyzers on $file"
47
- dotnet format analyze "$file" --severity info 2>&1 | tee -a lint_warnings.log
48
- done
+ echo "🔍 Running analyzers on detected C# files..."
+ dotnet build --no-restore -warnaserror -p:AnalysisLevel=latest 2>&1 | tee lint_warnings.log
49
50
- name: Print Lint Warnings
51
0 commit comments