Files
BookStack/.forgejo/workflows/lint-php.yml

29 lines
542 B
YAML
Raw Normal View History

name: lint-php
on:
2026-04-27 12:07:43 +01:00
workflow_dispatch:
push:
paths:
- '**.php'
pull_request:
paths:
- '**.php'
jobs:
build:
if: ${{ github.ref != 'refs/heads/l10n_development' }}
2026-04-27 12:07:43 +01:00
runs-on: docker
container:
2026-04-27 13:36:47 +01:00
image: docker.io/library/node:24-trixie
steps:
2026-04-27 12:07:43 +01:00
- uses: https://code.forgejo.org/actions/checkout@v6
- name: Setup PHP
2026-04-27 12:07:43 +01:00
uses: https://github.com/shivammathur/setup-php@v2
with:
2026-04-27 12:07:43 +01:00
php-version: 8.5
tools: phpcs
- name: Run formatting check
run: composer lint