package updates and remove cspell #22
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 | πΆ Typo3' | |
on: | |
push: | |
branches: | |
- typo3 | |
paths-ignore: | |
- README.md | |
- LICENSE.md | |
pull_request: | |
branches: | |
- typo3 | |
paths-ignore: | |
- README.md | |
- LICENSE.md | |
# Allows to run this workflow manually from the Actions tab. | |
workflow_dispatch: | |
jobs: | |
cleanup: | |
name: 'π§Ή Clean up GitHub repo' | |
runs-on: ubuntu-latest | |
permissions: write-all | |
if: github.event_name != 'pull_request' | |
steps: | |
- name: 'π Delete workflow runs' | |
uses: Mattraks/delete-workflow-runs@v2 | |
with: | |
retain_days: 7 | |
keep_minimum_runs: 1 | |
delete_workflow_pattern: ci-typo3.yml | |
lint: | |
name: 'πͺ Lint | ${{ matrix.command.name }}' | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
command: | |
- { name: 'π¦ Composer', command: 'lint:composer' } | |
- { name: 'π PHPStan', command: 'lint:php:stan' } | |
- { name: 'πͺΆ PHP CS Fixer', command: 'lint:php:cs-fixer' } | |
- { name: 'π ΏοΈ Prettier', command: 'lint:prettier' } | |
- { name: 'π Rector', command: 'lint:rector' } | |
- { name: 'πΈ TypoScript', command: 'lint:typoscript' } | |
- { name: 'π YML', command: 'lint:yml' } | |
steps: | |
- name: 'π Checkout' | |
uses: actions/checkout@v4 | |
- name: 'βοΈ Prepare environment' | |
uses: ./.github/actions/setup-validation | |
- name: '${{ matrix.command.name }} validate' | |
run: task ${{ matrix.command.command }} |