chore(deps-dev): bump twig/twig from 3.14.0 to 3.14.2 in /apps/api #377
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: API Code Quality | |
on: | |
push: | |
paths: | |
- apps/api/** | |
- .github/workflows/api.yaml | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
COMPOSE_FILE: docker-compose.test.yml | |
jobs: | |
code_quality: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
tool: [cs-fixer, phpstan, deptrac, rector] | |
env: | |
COMPOSE_FILE: docker-compose.tools.yml | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Task | |
uses: arduino/setup-task@v2 | |
with: | |
version: 3.x | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Boostrap test utilities | |
run: docker compose build ${{ matrix.tool }} | |
- name: Run ${{ matrix.tool }} | |
run: task ${{ matrix.tool }} | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Task | |
uses: arduino/setup-task@v2 | |
with: | |
version: 3.x | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Copy .env file | |
run: cp apps/web/.env.dist apps/web/.env | |
- name: Run Php Spec tests | |
run: task phpspec |