From aae94dbd5b05003e9ffcbdbd4b50631286d544fb Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 31 Oct 2024 13:11:35 +0200 Subject: [PATCH 1/3] Upgrade "actions/upload-artifact" GitHub Action --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c395448..58c83d9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -84,7 +84,7 @@ jobs: - name: Archive logs artifacts if: ${{ failure() }} - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: logs_php-${{ matrix.php }} path: | From 88657049d5bdcc98905a5bdde9a6523a072d8615 Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 31 Oct 2024 13:17:41 +0200 Subject: [PATCH 2/3] Upgrade other GitHub Actions --- .github/workflows/tests.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 58c83d9..e377ad9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -38,7 +38,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 2 @@ -52,7 +52,7 @@ jobs: ini-values: date.timezone=Europe/Paris, error_reporting=-1, display_errors=On - name: Setup Node - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: "${{ matrix.node }}" @@ -78,8 +78,9 @@ jobs: vendor/bin/phpunit -v --coverage-clover=coverage.clover - name: Upload code coverage - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v4 with: + token: ${{ secrets.CODECOV_TOKEN }} files: coverage.clover - name: Archive logs artifacts From b84613d3eef687ea09990caace86c0c6df9d663a Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 31 Oct 2024 13:20:57 +0200 Subject: [PATCH 3/3] Include all matrix elements in the artifact filename --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e377ad9..2a27b9a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -87,6 +87,6 @@ jobs: if: ${{ failure() }} uses: actions/upload-artifact@v4 with: - name: logs_php-${{ matrix.php }} + name: logs_php-${{ matrix.php }}_zombie${{ matrix.zombie }}_node-${{ matrix.node }} path: | logs