mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-02-04 13:06:53 +00:00
Bumps [shivammathur/setup-php](https://github.com/shivammathur/setup-php) from 7bf05c6b704e0b9bfee22300130a31b5ea68d593 to 44454db4f0199b8b9685a5d763dc37cbf79108e1.
- [Release notes](https://github.com/shivammathur/setup-php/releases)
- [Commits](7bf05c6b70...44454db4f0)
---
updated-dependencies:
- dependency-name: shivammathur/setup-php
dependency-version: 44454db4f0199b8b9685a5d763dc37cbf79108e1
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
40 lines
747 B
YAML
40 lines
747 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@v6.0.0
|
|
|
|
- name: Set up php ${{ matrix.php-versions }}
|
|
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2
|
|
with:
|
|
php-version: 8.4
|
|
extensions: apcu
|
|
coverage: none
|
|
|
|
- name: twig lint
|
|
run: |
|
|
cd php
|
|
composer install
|
|
composer run lint:twig
|