diff --git a/.github/workflows/code-style-check.yml b/.github/workflows/code-style-check.yml index fd21d5b..bbeafe8 100644 --- a/.github/workflows/code-style-check.yml +++ b/.github/workflows/code-style-check.yml @@ -33,6 +33,11 @@ jobs: NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages steps: + - name: Check out repository + uses: actions/checkout@v4 + with: + persist-credentials: false + - name: Set up .NET SDK uses: actions/setup-dotnet@v4 with: @@ -42,11 +47,6 @@ jobs: test/**/packages.lock.json global-json-file: global.json - - name: Check out repository - uses: actions/checkout@v4 - with: - persist-credentials: false - - name: Run dotnet format run: >- dotnet format