all-in-one/.github/workflows/twig-lint.yml
Simon L. 27eae80466 pin all actions via commit hash
Signed-off-by: Simon L. <szaimen@e.mail.de>
2026-01-26 12:59:05 +01:00

40 lines
790 B
YAML

name: Twig Lint
on:
pull_request:
paths:
- '**.twig'
push:
branches:
- main
paths:
- '**.twig'
permissions:
contents: read
concurrency:
group: lint-twig-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
twig-lint:
runs-on: ubuntu-latest
name: twig-lint
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@7bf05c6b704e0b9bfee22300130a31b5ea68d593 # v2
with:
php-version: 8.4
extensions: apcu
coverage: none
- name: twig lint
run: |
cd php
composer install
composer run lint:twig