From a5d484ef4f68359cfe39686fde18764d57cd9d84 Mon Sep 17 00:00:00 2001 From: Sebastian Bergmann Date: Wed, 31 Dec 2025 14:59:49 +0100 Subject: [PATCH] Update GitHub Actions --- .github/workflows/{ci.yml => ci.yaml} | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) rename .github/workflows/{ci.yml => ci.yaml} (92%) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yaml similarity index 92% rename from .github/workflows/ci.yml rename to .github/workflows/ci.yaml index d5823c1..007af6f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yaml @@ -1,4 +1,4 @@ -# https://help.github.com/en/categories/automating-your-workflow-with-github-actions +# https://docs.github.com/en/actions on: - pull_request @@ -22,7 +22,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: fetch-depth: 1 ref: ${{ github.event.pull_request.head.sha || github.sha }} @@ -53,7 +53,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: fetch-depth: 1 ref: ${{ github.event.pull_request.head.sha || github.sha }} @@ -96,7 +96,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: fetch-depth: 1 ref: ${{ github.event.pull_request.head.sha || github.sha }} @@ -123,7 +123,7 @@ jobs: echo "dir=$(composer config cache-files-dir)" >> "$GITHUB_OUTPUT" - name: Cache Composer cache directory - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ${{ steps.composer-cache.outputs.dir }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} @@ -146,7 +146,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: fetch-depth: 1 ref: ${{ github.event.pull_request.head.sha || github.sha }} @@ -173,7 +173,7 @@ jobs: echo "dir=$(composer config cache-files-dir)" >> "$GITHUB_OUTPUT" - name: Cache Composer cache directory - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ${{ steps.composer-cache.outputs.dir }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} @@ -187,15 +187,18 @@ jobs: - name: Upload test results to Codecov.io if: ${{ !cancelled() }} - uses: codecov/test-results-action@v1 + uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} + report_type: test_results disable_search: true files: ./test-results.xml - name: Upload code coverage data to Codecov.io - uses: codecov/codecov-action@v4 + if: ${{ !cancelled() }} + uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} + report_type: coverage disable_search: true files: ./code-coverage.xml