aio-interface: use Nextcloud Hub naming scheme #669
Workflow file for this run
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: 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@v4 | |
- name: Set up php ${{ matrix.php-versions }} | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.3 | |
extensions: apcu | |
coverage: none | |
- name: twig lint | |
run: | | |
cd php | |
composer install | |
composer run lint:twig |