refactor: migrate to PHP 8.4 and Symfony 6.4 #8
This file contains hidden or 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: Pull Request | |
| on: pull_request | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| php-cs-fixer: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - run: make start | |
| - run: docker compose run --rm --build --no-deps php vendor/bin/php-cs-fixer fix --diff --dry-run | |
| container-deprecations: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - run: make start | |
| - run: | | |
| OUTPUT=$(docker compose run --rm --build --no-deps php bin/console debug:container --deprecations) | |
| echo "$OUTPUT" | |
| if [[ "$OUTPUT" == *"[OK]"* ]]; then | |
| exit 0 | |
| else | |
| exit 1 | |
| fi |