diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 5f509a4..8f100c0 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -1,4 +1,4 @@ -name: PHP Composer +name: PHPUnit on: [push, pull_request] @@ -13,10 +13,10 @@ jobs: fail-fast: false matrix: os: [ ubuntu-latest ] - php: [ 8.1, 8.2, 8.3 ] + php: [ 8.2, 8.3 ] dependency-version: [ prefer-stable ] - name: PHP ${{ matrix.php }} - ${{ matrix.os }} - ${{ matrix.dependency-version }} + name: "Tests: PHP ${{ matrix.php }}" steps: - uses: actions/checkout@v4 @@ -30,10 +30,12 @@ jobs: coverage: xdebug - name: Install tools - uses: awalsh128/cache-apt-pkgs-action@latest + uses: FedericoCarboni/setup-ffmpeg@v3 with: - packages: ffmpeg jpegoptim pngquant webp - version: 1.0 + ffmpeg-version: 'release' + + - name: Install jpegoptim + run: sudo apt-get install -y jpegoptim pngquant webp - name: Validate composer.json and composer.lock run: composer validate --strict