Bump phpunit/phpunit from 11.4.3 to 11.4.4 #2340
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: CI | |
on: [push, pull_request_target] | |
jobs: | |
tests: | |
name: Run tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: π€ Checkout project | |
uses: actions/checkout@v4 | |
- name: π Setup PHP | |
uses: shivammathur/setup-php@master | |
with: | |
php-version: "8.3" | |
tools: composer | |
env: | |
update: true | |
- name: π’ Create .env file | |
run: cp .env.example .env | |
- name: π¦ Install dependencies | |
uses: ramsey/composer-install@v3 | |
- name: π Generate a laravel key | |
run: php artisan key:generate | |
- name: β Run PHPUnit tests | |
run: php artisan test | |
phpstan: | |
name: Static analysis | |
runs-on: ubuntu-latest | |
steps: | |
- name: π€ Checkout project | |
uses: actions/checkout@v4 | |
- name: π Setup PHP | |
uses: shivammathur/setup-php@master | |
with: | |
php-version: "8.3" | |
tools: composer | |
env: | |
update: true | |
- name: π¦ Install dependencies | |
uses: ramsey/composer-install@v3 | |
- name: β Run static analysis | |
run: vendor/bin/phpstan analyse | |
coding-standards: | |
name: Coding standards | |
runs-on: ubuntu-latest | |
steps: | |
- name: π€ Checkout project | |
uses: actions/checkout@v4 | |
- name: π Setup PHP | |
uses: shivammathur/setup-php@master | |
with: | |
php-version: "8.3" | |
tools: composer | |
env: | |
update: true | |
- name: π¦ Install dependencies | |
uses: ramsey/composer-install@v3 | |
- name: β Run Laravel Pint | |
run: vendor/bin/pint | |
- name: π₯ Commit changes | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: Fix coding standards issues |