diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index c153c1f..97e2716 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -11,11 +11,11 @@ jobs: runs-on: windows-latest timeout-minutes: 15 steps: - - uses: actions/checkout@v3 - with: + - uses: actions/checkout@v4 + with: fetch-depth: 10 - name: Setup .NET - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: 6.x - name: Restore dependencies @@ -30,9 +30,9 @@ jobs: /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura /p:CoverletOutput='../../coverage.xml' - name: Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV }} verbose: true - files: ./coverage.net6.0.xml - fail_ci_if_error: true + files: ./coverage.xml + fail_ci_if_error: false