Skip to content

upgrade CI deps

upgrade CI deps #45

Workflow file for this run

name: CI
on: [push, pull_request]
permissions:
contents: read
jobs:
CI:
runs-on: ubuntu-latest
strategy:
matrix:
php:
- '8.0'
- '8.1'
- '8.2'
coverage:
- none
include:
- php: '8.3'
coverage: xdebug
steps:
- uses: shivammathur/[email protected]
with:
php-version: ${{ matrix.php }}
coverage: ${{ matrix.coverage }}
- uses: actions/checkout@v4
with:
fetch-depth: 2 # required by Scrutinizer
- run: composer install --no-progress --no-ansi --no-interaction --dev --prefer-dist
- run: composer test && composer inspect
- if: matrix.coverage == 'xdebug'
uses: sudo-bot/action-scrutinizer@latest
with:
cli-args: '--format=php-clover test/build/clover.xml'