Bump laravel/framework from 11.19.0 to 11.23.2 #2150
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: π© Fetch vendor from cache | |
uses: actions/cache@v4 | |
id: cache | |
with: | |
path: vendor | |
key: composer-${{ hashFiles('**/composer.lock') }} | |
- 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 | |
run: composer install --quiet --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist | |
- 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: π© Fetch vendor from cache | |
uses: actions/cache@v4 | |
id: cache | |
with: | |
path: vendor | |
key: composer-${{ hashFiles('**/composer.lock') }} | |
- name: π Setup PHP | |
uses: shivammathur/setup-php@master | |
with: | |
php-version: "8.3" | |
tools: composer | |
env: | |
update: true | |
- name: π¦ Install dependencies | |
run: composer install --quiet --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist | |
- 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: π© Fetch vendor from cache | |
uses: actions/cache@v4 | |
id: cache | |
with: | |
path: vendor | |
key: composer-${{ hashFiles('**/composer.lock') }} | |
- name: π Setup PHP | |
uses: shivammathur/setup-php@master | |
with: | |
php-version: "8.3" | |
tools: composer | |
env: | |
update: true | |
- name: π¦ Install dependencies | |
run: composer install --quiet --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist | |
- 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 |