mirror of
https://github.com/Chouchen/Shikiryu_Backup.git
synced 2026-09-24 16:03:54 +02:00
24 lines
477 B
YAML
24 lines
477 B
YAML
name: Format and test
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
build:
|
|
name: 🕵🏻 Test
|
|
runs-on: linux
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Composer
|
|
uses: php-actions/composer@v6
|
|
with:
|
|
args: --ignore-platform-reqs
|
|
- name: PHPMD
|
|
run: vendor/bin/phpmd app text phpmd.xml
|
|
- name: PHPCS
|
|
run: vendor/bin/phpcs --standard=PSR2 app
|
|
- name: PHPCPD
|
|
run: vendor/bin/phpcpd app
|