diff --git a/.github/workflows/dotnet-format.yml b/.github/workflows/dotnet-format.yml index 25e89378..b0573a9c 100644 --- a/.github/workflows/dotnet-format.yml +++ b/.github/workflows/dotnet-format.yml @@ -18,10 +18,16 @@ jobs: permissions: {} steps: - - name: check out code - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 + + - name: Checkout code + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: - persist-credentials: false + fetch-depth: 0 + filter: 'tree:0' + show-progress: false + + - name: Setup .NET SDK + uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1 - - name: dotnet format + - name: Run dotnet format run: dotnet format --verify-no-changes