Bump Larastan to level 2 #25
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Checks | |
on: | |
push: | |
branches: | |
- master | |
- v2.0 | |
pull_request: | |
schedule: | |
- cron: '0 0 * * *' | |
jobs: | |
php-tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
environment: | |
- php_version: 8.1 | |
laravel_version: 10 | |
- php_version: 8.2 | |
laravel_version: 10 | |
- php_version: 8.2 | |
laravel_version: 11 | |
- php_version: 8.3 | |
laravel_version: 11 | |
name: PHP ${{ matrix.environment.php_version }} & Laravel ${{ matrix.environment.laravel_version }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup | |
uses: ./.github/actions/setup | |
with: | |
php_version: ${{ matrix.environment.php_version }} | |
laravel_version: ${{ matrix.environment.laravel_version }} | |
- name: Execute tests | |
run: composer test | |
php-codesniffer: | |
runs-on: ubuntu-latest | |
name: PHP Codesniffer | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup | |
uses: ./.github/actions/setup | |
with: | |
php_version: 8.3 | |
laravel_version: 11 | |
- name: Run codesniffer | |
run: composer phpcs | |
php-mess-detector: | |
runs-on: ubuntu-latest | |
name: PHP Mess Detector | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup | |
uses: ./.github/actions/setup | |
with: | |
php_version: 8.3 | |
laravel_version: 11 | |
- name: Run mess detector | |
run: composer phpmd | |
rector: | |
runs-on: ubuntu-latest | |
name: Rector | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup | |
uses: ./.github/actions/setup | |
with: | |
php_version: 8.3 | |
laravel_version: 11 | |
- name: Run Rector | |
run: composer rector |