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:
25
25
26
26
jobs :
27
27
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
29
29
runs-on : windows-latest
30
30
steps :
31
31
- uses : actions/checkout@v4
32
32
with :
33
33
fetch-depth : 0
34
- - name : Install .NET ${{ vars.DOTNET_SDK_VERSION }}
34
+ - name : Setup .NET
35
35
uses : actions/setup-dotnet@v4
36
36
with :
37
37
dotnet-version : ${{ vars.DOTNET_SDK_VERSION }}
38
38
- name : Install dotnet-format tool
39
39
run : dotnet tool install -g dotnet-format
40
- - name : Format with .NET ${{ vars.DOTNET_SDK_VERSION }}
40
+ - name : Format with .NET CLI
41
41
run : |
42
42
git checkout ${{ github.head_ref || github.ref }}
43
43
dotnet format whitespace --verbosity diagnostic
48
48
# run: |
49
49
# git config --global core.autocrlf false
50
50
# 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 }}
52
52
run : |
53
53
git add .
54
54
git config user.name "$(git log -n 1 --pretty=format:%an)"
You can’t perform that action at this time.
0 commit comments