build(deps-dev): bump laravel/sail from 1.22.0 to 1.23.2 #250
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
############################################################################### | |
# Sobre o GitHub Actions # | |
# https://docs.github.com/en/actions/learn-github-actions # | |
# https://www.youtube.com/watch?v=TLB5MY9BBa4 # | |
############################################################################### | |
# | |
# Análise estática do código com PHPStan https://phpstan.org/ | |
name: Qualidade de código | |
on: ["workflow_dispatch", "push", "pull_request"] | |
concurrency: | |
group: qualidade-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
phpstan: | |
runs-on: ubuntu-latest | |
name: PHPStan - Análise estática de código | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.head_ref }} | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: "8.1" | |
tools: composer:v2 | |
coverage: none | |
- name: Install dependencies | |
run: composer update --prefer-stable --no-interaction --no-progress | |
- name: Run PHPStan | |
run: ./vendor/bin/phpstan analyse --ansi --memory-limit 1G --error-format=github --debug |