diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index e799b18..960c9fe 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -17,14 +17,14 @@ jobs: composer: '--prefer-lowest' desc: "Lowest versions" - php: 8.2 - coverage: '--coverage-clover /tmp/clover.xml' + coverage: '--coverage-clover ./clover.xml' - php: 8.3 name: PHP ${{ matrix.php }} ${{ matrix.desc }} steps: - uses: actions/checkout@v4 with: - fetch-depth: 2 + fetch-depth: 10 - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -45,4 +45,4 @@ jobs: uses: sudo-bot/action-scrutinizer@latest if: ${{ matrix.coverage }} with: - cli-args: "--format=php-clover build/logs/clover.xml --revision=${{ github.event.pull_request.head.sha || github.sha }}" + cli-args: "--format=php-clover ./clover.xml" diff --git a/.scrutinizer.yml b/.scrutinizer.yml index 1999fdc..ced4896 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -8,7 +8,7 @@ build: nodes: analysis: environment: - php: 8.2 + php: 8.2.23 postgresql: false redis: false mongodb: false