diff --git a/.github/workflows/code-style.yaml b/.github/workflows/code-style.yaml index f6a26d4..0aa6075 100644 --- a/.github/workflows/code-style.yaml +++ b/.github/workflows/code-style.yaml @@ -16,25 +16,12 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v3 with: - global-json-file: global.json + global-json-file: "./global.json" - name: Restore dependencies run: dotnet restore - - name: Check dotnet version - run: dotnet --version - - - name: Check dotnet version - run: dotnet format --version - - - name: Check dotnet version - run: echo $env:Path - - - name: Check dotnet version - run: dir "C:\Program Files\dotnet" - - - name: Check dotnet version - run: gcm dotnet - - name: Check code format (editorconfig) run: dotnet format --verify-no-changes + with: + global-json-file: "./global.json"