From 216f8eeff5e718d5fe6bdd1717de1e0e52e7fbf7 Mon Sep 17 00:00:00 2001 From: Andreas Kienast Date: Mon, 7 Oct 2024 11:08:04 +0200 Subject: [PATCH] [TASK] Update `actions/*` actions (#19) This commit updates the actions `actions/checkout` and `actions/cache` to their corresponding latest version. --- .github/workflows/ci.yml | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 538117c..86b4628 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,17 +26,17 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} extensions: mbstring, xml, ctype, iconv - coverage: pcov + coverage: none - name: Cache composer dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: vendor key: ${{ matrix.php }}-composer-${{ matrix.symfony }} @@ -58,17 +58,3 @@ jobs: run: | git status git status | grep -q "nothing to commit, working tree clean" - - - name: Tests - run: | - php -dpcov.enabled=1 -dpcov.directory="." -dxdebug.mode="coverage" ./vendor/bin/phpunit -c build/phpunit.xml.dist --log-junit var/log/junit/phpunit.junit.xml --coverage-clover var/log/junit/coverage.xml --coverage-xml var/log/junit/coverage-xml/ - env: - COMPOSER_PROCESS_TIMEOUT: 1200 - - - name: Upload coverage results to Coveralls - continue-on-error: true - env: - COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - composer global require php-coveralls/php-coveralls --no-progress --no-suggest --no-interaction - /home/runner/.composer/vendor/bin/php-coveralls -c build/.coveralls.yml -vvv --json_path=var/log/coveralls-upload.json