build(deps-dev): bump friendsofphp/php-cs-fixer from 3.38.2 to 3.39.0 #766
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 ] | |
jobs: | |
build: | |
runs-on: [ ubuntu-latest ] | |
name: Run CI suite | |
env: | |
DATABASE_URL: 'mysql://root:[email protected]:3306/app' | |
services: | |
mysql: | |
image: mysql:8.0 | |
ports: | |
- 3306:3306 | |
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 | |
env: | |
MYSQL_ROOT_PASSWORD: '0000' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.2' | |
extensions: mysql | |
- name: The PHP Security Checker | |
uses: symfonycorp/security-checker-action@v5 | |
- name: Get Composer Cache Directory | |
id: composer-cache | |
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT | |
- name: Cache Composer Downloads | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.composer-cache.outputs.dir }} | |
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} | |
restore-keys: | | |
${{ runner.os }}-composer- | |
- name: Install dependencies | |
run: composer install --no-progress --ansi | |
- name: Run cs-fixer | |
run: vendor/bin/php-cs-fixer fix --dry-run --stop-on-violation --ansi | |
- name: Run tests | |
run: bin/phpunit | |
- name: Run phpstan | |
run: vendor/bin/phpstan analyse --no-progress --ansi |