diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 227bfde..5acee3a 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -40,8 +40,9 @@ jobs: - name: Run PHPUnit run: vendor/bin/phpunit ${{ matrix.coverage }} - - name: Upload coverage to Scrutinizer + - name: Upload Scrutinizer coverage + uses: sudo-bot/action-scrutinizer@latest if: ${{ matrix.coverage }} - run: > - wget https://scrutinizer-ci.com/ocular.phar -O "/tmp/ocular.phar" && - php "/tmp/ocular.phar" code-coverage:upload --format=php-clover /tmp/clover.xml + with: + cli-args: --format=php-clover /tmp/clover.xml + diff --git a/composer.json b/composer.json index 4ebf15b..248ee79 100644 --- a/composer.json +++ b/composer.json @@ -33,7 +33,7 @@ "lcobucci/jwt": "< 3.4" }, "require-dev": { - "phpunit/phpunit": "^9.0", + "phpunit/phpunit": "^9.6.0", "hashids/hashids": "^2.0 | ^3.0 | ^4.0", "jasny/php-code-quality": "~2.7.0", "lcobucci/jwt": "^3.4 | ^4.0"