File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -43,12 +43,16 @@ jobs:
43
43
git checkout ${{ github.head_ref || github.ref }}
44
44
dotnet format whitespace --verbosity diagnostic
45
45
dotnet format style --verbosity diagnostic
46
- dotnet format analyzers --diagnostics IDE0073 --verbosity diagnostic
46
+ dotnet format analyzers --diagnostics IDE0005 IDE0073 --verbosity diagnostic
47
47
working-directory : ${{ github.workspace }}
48
- # - if: runner.os == 'Windows'
49
- # run: |
50
- # git config --global core.autocrlf false
51
- # git config --global core.eol lf
48
+ - if : runner.os == 'Windows'
49
+ run : |
50
+ git config --global core.autocrlf false
51
+ git config --global core.eol lf
52
+ - if : runner.os != 'Windows'
53
+ run : |
54
+ git config --global core.autocrlf true
55
+ git config --global core.eol lf
52
56
- name : Push changes to ${{ github.head_ref || github.ref }}
53
57
run : |
54
58
git add .
You can’t perform that action at this time.
0 commit comments