Symfony Lint #1729
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
# DO NOT EDIT THIS FILE! | |
# | |
# It's auto-generated by sonata-project/dev-kit package. | |
name: Symfony Lint | |
on: | |
schedule: | |
- cron: '30 0 * * *' | |
push: | |
branches: | |
- 4.x | |
- 5.x | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
container: | |
name: Symfony container | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install PHP with extensions | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.3' | |
coverage: none | |
tools: composer:v2 | |
- name: Install Composer dependencies (highest) | |
uses: ramsey/composer-install@v3 | |
with: | |
dependency-versions: highest | |
- name: Lint container | |
run: make lint-symfony-container | |
twig: | |
name: Twig files | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install PHP with extensions | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.3' | |
coverage: none | |
tools: composer:v2 | |
- name: Install Composer dependencies (highest) | |
uses: ramsey/composer-install@v3 | |
with: | |
dependency-versions: highest | |
- name: Lint twig files | |
run: make lint-symfony-twig | |
xliff: | |
name: XLIFF files | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install PHP with extensions | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.3' | |
coverage: none | |
tools: composer:v2 | |
- name: Install Composer dependencies (highest) | |
uses: ramsey/composer-install@v3 | |
with: | |
dependency-versions: highest | |
- name: Lint xliff files | |
run: make lint-symfony-xliff | |
yaml: | |
name: YML files | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install PHP with extensions | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.3' | |
coverage: none | |
tools: composer:v2 | |
- name: Install Composer dependencies (highest) | |
uses: ramsey/composer-install@v3 | |
with: | |
dependency-versions: highest | |
- name: Lint yaml files | |
run: make lint-symfony-yaml |