Skip to content

[gh-action]: Bump actions/cache from 3 to 4 #131

[gh-action]: Bump actions/cache from 3 to 4

[gh-action]: Bump actions/cache from 3 to 4 #131

Workflow file for this run

name: Tests
on:
push:
pull_request:
jobs:
phpunit:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
php:
- 8.1
- 8.2
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite
tools: composer:v2
coverage: none
- name: Install Composer dependencies
run: composer install --prefer-dist --no-interaction
- name: Execute tests
run: vendor/bin/phpunit --no-coverage