-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (27 loc) · 1.13 KB
/
lint.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Lint
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install PHP with extensions
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
coverage: none
- name: Install dependencies
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
- name: Lint YAML
run: php bin/console lint:yaml translations .github/workflows --parse-tags
- name: Lint Twig
run: php bin/console lint:twig templates
- name: Lint Container
run: php bin/console lint:container
- name: Lint Markdown
uses: DavidAnson/markdownlint-cli2-action@v17
- name: Validate Schema
run: php bin/console doctrine:schema:validate --skip-sync -vvv --no-interaction
- name: Validate Composer
run: composer validate --strict