mirror of
https://github.com/friendica/friendica
synced 2025-02-22 23:58:14 +00:00
22 lines
499 B
YAML
22 lines
499 B
YAML
# SPDX-FileCopyrightText: 2010 - 2024 the Friendica project
|
|
#
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
# The phpmd check is just triggered for PRs and pushes to non-stable branches of Friendica
|
|
when:
|
|
branch:
|
|
exclude: [ stable ]
|
|
event: [ pull_request, push ]
|
|
|
|
steps:
|
|
composer_install:
|
|
image: composer
|
|
commands:
|
|
- mkdir addon
|
|
- export COMPOSER_HOME=.composer
|
|
- ./bin/composer.phar install
|
|
|
|
phpmd:
|
|
image: php:8.3
|
|
commands:
|
|
- ./bin/composer.phar run phpmd
|