Skip to content

Update CHANGELOG.md #101

Update CHANGELOG.md

Update CHANGELOG.md #101

Workflow file for this run

name: Lint
on:
push:
pull_request:
jobs:
lint:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
php:
- '8.1'
- '8.2'
- '8.3'
laravel:
- 9
- 10
- 11
exclude:
- php: '8.1'
laravel: 11
name: PHP ${{ matrix.php }} + Laravel ${{ matrix.laravel }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up PHP ${{ matrix.php }}
run: sudo update-alternatives --set php /usr/bin/php${{ matrix.php }}
- name: Update Composer to latest version
run: sudo composer self-update
- name: Validate composer.json
run: composer validate
- name: Install Composer dependencies
run: |
composer install --no-interaction
if [[ "${{ matrix.laravel }}" == 9 ]]; then
composer update --no-interaction --with-all-dependencies orchestra/testbench:^7.0 symfony/console:^6.0
elif [[ "${{ matrix.laravel }}" == 10 ]]; then
composer update --no-interaction --with-all-dependencies orchestra/testbench:^8.0 symfony/console:^6.0
elif [[ "${{ matrix.laravel }}" == 11 ]]; then
composer update --no-interaction --with-all-dependencies orchestra/testbench:^9.0 symfony/console:^7.0
fi
- name: Run lint
run: composer lint