diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c42474c..049b6ed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,7 +35,7 @@ jobs: phar: true steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: shivammathur/setup-php@v2 with: @@ -53,7 +53,7 @@ jobs: run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - name: Cache dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ steps.composer-cache.outputs.dir }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} @@ -75,7 +75,7 @@ jobs: run: vendor/bin/phpunit --configuration phpunit.xml --bootstrap build/autoload.php - name: Download base coverage - uses: dawidd6/action-download-artifact@v2 + uses: dawidd6/action-download-artifact@v3 if: github.event_name == 'pull_request' && matrix.phar == false continue-on-error: true with: @@ -86,7 +86,7 @@ jobs: workflow: .github/workflows/ci.yml - name: Report coverage if: github.event_name == 'pull_request' && matrix.phar == false - uses: lucassabreu/comment-coverage-clover@v0.9.1 + uses: lucassabreu/comment-coverage-clover@v0.12.0 with: base-file: ./coverage-base/clover.xml file: ./clover.xml @@ -94,14 +94,14 @@ jobs: signature: PHP ${{ matrix.php }} - name: Upload coverage - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: matrix.phar == false with: name: coverage-${{ matrix.php }} path: ./clover.xml - name: Upload phar - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: matrix.phar with: name: phar