diff --git a/.github/workflows/diagnostics.yml b/.github/workflows/diagnostics.yml index b981ac4..27699ef 100644 --- a/.github/workflows/diagnostics.yml +++ b/.github/workflows/diagnostics.yml @@ -29,7 +29,7 @@ jobs: steps: - name: Pull source - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup PHP with PECL extension uses: shivammathur/setup-php@v2 @@ -38,7 +38,7 @@ jobs: coverage: xdebug2 - name: Cache composer cache directory - uses: actions/cache@v1 + uses: actions/cache@v4 env: cache-name: composer-cache-dir-${{ matrix.php }} with: @@ -49,7 +49,7 @@ jobs: run: composer install - name: Cache vendor directory of phpcq tool runner - uses: actions/cache@v1 + uses: actions/cache@v4 env: cache-name: vendor-${{ matrix.php }} with: @@ -68,7 +68,7 @@ jobs: run: $GITHUB_WORKSPACE/vendor/bin/phpcq run -o github-action -o default ${{ matrix.phpcq_flags }} -v - name: Upload build directory to artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: ${{ success() }} || ${{ failure() }} with: name: phpcq-builds-php-${{ matrix.php }}