Lint info.xml / xml-lint (push) Successful in 28s
Lint PHP / php-lint (8.2) (push) Successful in 51s
Lint PHP / php-lint (8.3) (push) Successful in 40s
Lint PHP / php-lint (8.4) (push) Successful in 47s
PHPUnit / unit-tests (push) Successful in 49s
Build release artifact / package (push) Failing after 2m19s
actions/checkout v4 -> v7, actions/setup-node v4 -> v7, actions/upload-artifact v4 -> v7 across all workflows. shivammathur/setup-php stays on the floating @v2 tag, which already resolves to the latest 2.x release.
25 lines
487 B
YAML
25 lines
487 B
YAML
name: Lint PHP
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
|
|
jobs:
|
|
php-lint:
|
|
runs-on: gitea-runner-server03
|
|
strategy:
|
|
matrix:
|
|
php-version: ['8.2', '8.3', '8.4']
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
|
|
- uses: shivammathur/setup-php@v2
|
|
with:
|
|
php-version: ${{ matrix.php-version }}
|
|
coverage: none
|
|
|
|
- name: Syntax check
|
|
run: |
|
|
find lib tests appinfo -name '*.php' -print0 | xargs -0 -n1 -- php -l
|