Skip to content

Allow to specify default location in a static Closure #188

Allow to specify default location in a static Closure

Allow to specify default location in a static Closure #188

Workflow file for this run

name: run-tests
on: [ push, pull_request ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: [8.3, 8.2, 8.1]
laravel: [^10.0]
dependencies: [lowest, highest]
name: P${{ matrix.php }} | L${{ matrix.laravel }} | ${{ matrix.dependencies == 'highest' && '↑' || '↓' }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- 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