build(deps-dev): bump friendsofphp/php-cs-fixer from 3.52.1 to 3.59.3 #37
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
--- | |
on: pull_request | |
permissions: | |
statuses: write | |
jobs: | |
autoformat: | |
runs-on: ubuntu-latest | |
env: | |
COMPOSE_FILE: tests/compose.yaml | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/cache@v4 | |
with: | |
path: vendor | |
key: ${{ runner.os }}-composer-${{ hashFiles('composer.lock') }} | |
restore-keys: | | |
${{ runner.os }}-composer- | |
- name: make autoformat | |
run: make autoformat > /dev/null | |
- name: git status | |
run: | | |
if [ -z $(git status --porcelain) ]; | |
then | |
echo "Looks good" | |
else | |
echo "Some files need to be corrected, so run 'make autoformat' to apply a correction" | |
echo git status | |
exit 1 | |
fi | |
phpmetrics: | |
uses: ./.github/workflows/example-phpmetrics.yaml | |
with: | |
command: check | |
coverage: | |
uses: ./.github/workflows/example-coverage.yaml | |
with: | |
command: check |