diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b8add2e..d803557 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -79,7 +79,7 @@ jobs: - name: Run tests run: dotnet test --no-build --collect:"XPlat Code Coverage" - name: Upload coverage - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Code coverage (MacOS) path: "**/coverage.cobertura.xml" @@ -103,7 +103,7 @@ jobs: - name: Run tests run: dotnet test --no-build --collect:"XPlat Code Coverage" - name: Upload coverage - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Code coverage (Ubuntu) path: "**/coverage.cobertura.xml" @@ -127,7 +127,7 @@ jobs: - name: Run tests run: dotnet test --no-build --collect:"XPlat Code Coverage" - name: Upload coverage - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Code coverage (Windows) path: "**/coverage.cobertura.xml" diff --git a/.github/workflows/ci-stryker.yml b/.github/workflows/ci-stryker.yml index f1675f8..5f21202 100644 --- a/.github/workflows/ci-stryker.yml +++ b/.github/workflows/ci-stryker.yml @@ -36,7 +36,7 @@ jobs: ../../tools/dotnet-stryker -f ../.github/stryker/Stryker.Config.json -v "${GITHUB_HEAD_REF}" -r "html" -r "cleartext" --since:main mv ./StrykerOutput/**/reports/*.html ./StrykerOutput/Reports/Testably.Abstractions.FluentAssertions-report.html - name: Upload Stryker reports - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Stryker path: Tests/StrykerOutput/Reports/* diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6674ed1..fd7efa7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,12 +26,12 @@ jobs: run: dotnet test --no-build --collect:"XPlat Code Coverage" --logger trx --results-directory "TestResults" - name: Upload test results (MacOS) if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Test results (MacOS) path: TestResults - name: Upload coverage - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Code coverage (MacOS) path: "**/coverage.cobertura.xml" @@ -56,12 +56,12 @@ jobs: run: dotnet test --no-build --collect:"XPlat Code Coverage" --logger trx --results-directory "TestResults" - name: Upload test results (Ubuntu) if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Test results (Ubuntu) path: TestResults - name: Upload coverage - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Code coverage (Ubuntu) path: "**/coverage.cobertura.xml" @@ -86,12 +86,12 @@ jobs: run: dotnet test --no-build --collect:"XPlat Code Coverage" --logger trx --results-directory "TestResults" - name: Upload test results (Windows) if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Test results (Windows) path: TestResults - name: Upload coverage - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Code coverage (Windows) path: "**/coverage.cobertura.xml" @@ -116,7 +116,7 @@ jobs: run: vstest.console.exe .\Build\Tests\Testably.Abstractions.FluentAssertions.Tests\net48\Testably.Abstractions.FluentAssertions.Tests.dll /Logger:trx /ResultsDirectory:TestResults - name: Upload test results (.NET Framework) if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Test results (.NET Framework) path: TestResults