Skip to content

Make Location an immutable value object #268

Make Location an immutable value object

Make Location an immutable value object #268

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, ^13.0]
dependencies: [lowest, highest]
exclude:
- laravel: ^13.0
php: 8.2
- laravel: ^13.0
php: 8.1
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