Skip to content

Fix: Gracefully handle cache drivers that do not support tagging (#75) #324

Fix: Gracefully handle cache drivers that do not support tagging (#75)

Fix: Gracefully handle cache drivers that do not support tagging (#75) #324

Workflow file for this run

name: run-tests
on:
- push
- pull_request
- workflow_dispatch
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: [8.5, 8.4, 8.3]
laravel: [^12.0, ^13.0]
dependencies: [lowest, highest]
name: P${{ matrix.php }} | L${{ matrix.laravel }} | ${{ matrix.dependencies == 'highest' && '↑' || '↓' }}
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: curl
coverage: none
- name: Setup problem matchers
run: |
echo "::add-matcher::${{ runner.tool_cache }}/php.json"
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
- name: Install lowest dependencies from composer.json
if: matrix.dependencies == 'lowest'
run: composer update --prefer-dist --no-interaction --prefer-dist --prefer-stable --prefer-lowest
- name: Install highest dependencies from composer.json
if: matrix.dependencies == 'highest'
run: composer update --prefer-dist --no-interaction --prefer-dist --prefer-stable
- name: Execute tests
run: composer test