From 13041e6db074c196fe37a5b7d3c0422a7de5de9c Mon Sep 17 00:00:00 2001 From: Nils Braun Date: Mon, 11 Nov 2024 20:48:50 +0100 Subject: [PATCH] Use new github action version (#1092) --- .github/workflows/benchmark_default_branch.yml | 2 +- .github/workflows/test.yml | 2 +- .github/workflows/test_all.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/benchmark_default_branch.yml b/.github/workflows/benchmark_default_branch.yml index aa19cfa4..2b2631b5 100644 --- a/.github/workflows/benchmark_default_branch.yml +++ b/.github/workflows/benchmark_default_branch.yml @@ -24,7 +24,7 @@ jobs: cd tests pytest benchmark.py --benchmark-min-rounds=4 --benchmark-only -n 0 --no-cov --benchmark-json output.json - name: Upload the file - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: benchmark_results path: tests/output.json diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index dcc0110c..79f8b5c8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -38,7 +38,7 @@ jobs: pytest --junitxml=junit/test-results-${{ matrix.python-version }}-${{ matrix.installation }}.xml --cov-report=xml tests - name: Upload pytest test results - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 with: name: pytest-results-${{ matrix.python-version }}-${{ matrix.installation }} path: junit/test-results-${{ matrix.python-version }}-${{ matrix.installation }}.xml diff --git a/.github/workflows/test_all.yml b/.github/workflows/test_all.yml index adde3433..2eebd9c6 100644 --- a/.github/workflows/test_all.yml +++ b/.github/workflows/test_all.yml @@ -35,7 +35,7 @@ jobs: pytest --junitxml=junit/test-results.xml --cov-report=xml tests - name: Upload pytest test results - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 with: name: pytest-results path: junit/test-results.xml