Skip to content

Commit

Permalink
ci: Run Composer Normalize in pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaswolf committed Mar 8, 2024
1 parent c353c9c commit e7e29d1
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/lint_test_pull_requests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
composer-command: ['style:php']
composer-command:
- name: Code Style
command: 'style:php'
- name: Composer normalizer
command: 'normalize --dry-run'
directory: ['extension-installer', 'fractor', 'fractor-xml', 'typo3-fractor']
defaults:
run:
Expand All @@ -26,9 +30,9 @@ jobs:
container_workdir: /app/${{ matrix.directory }}
memory_limit: 512M

- name: 'Run check "${{ matrix.composer-command }}"'
- name: 'Run check "${{ matrix.composer-command.name }}"'
uses: php-actions/composer@v6
with:
container_workdir: /app/${{ matrix.directory }}
command: ${{ matrix.composer-command }}
command: ${{ matrix.composer-command.command }}
memory_limit: 512M

0 comments on commit e7e29d1

Please sign in to comment.