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 @@ -25,19 +25,19 @@ concurrency:
2525
2626jobs :
2727 formatting :
28- name : Format whitespace, code style and file header with .NET ${{ vars.DOTNET_SDK_VERSION }}
28+ name : Format whitespace, code style and file header
2929 runs-on : windows-latest
3030 steps :
3131 - uses : actions/checkout@v4
3232 with :
3333 fetch-depth : 0
34- - name : Install .NET ${{ vars.DOTNET_SDK_VERSION }}
34+ - name : Setup .NET
3535 uses : actions/setup-dotnet@v4
3636 with :
3737 dotnet-version : ${{ vars.DOTNET_SDK_VERSION }}
3838 - name : Install dotnet-format tool
3939 run : dotnet tool install -g dotnet-format
40- - name : Format with .NET ${{ vars.DOTNET_SDK_VERSION }}
40+ - name : Format with .NET CLI
4141 run : |
4242 git checkout ${{ github.head_ref || github.ref }}
4343 dotnet format whitespace --verbosity diagnostic
4848 # run: |
4949 # git config --global core.autocrlf false
5050 # git config --global core.eol lf
51- - name : Push to ${{ github.head_ref || github.ref }}
51+ - name : Push changes to ${{ github.head_ref || github.ref }}
5252 run : |
5353 git add .
5454 git config user.name "$(git log -n 1 --pretty=format:%an)"
You can’t perform that action at this time.
0 commit comments