27 lines
468 B
YAML
27 lines
468 B
YAML
|
kind: pipeline
|
||
|
type: docker
|
||
|
name: default
|
||
|
|
||
|
steps:
|
||
|
- name: install
|
||
|
image: composer
|
||
|
commands:
|
||
|
- cd app
|
||
|
- composer install
|
||
|
- name: phpstan
|
||
|
image: ghcr.io/phpstan/phpstan:1-php8.1
|
||
|
commands:
|
||
|
- cd app
|
||
|
- php ./vendor/bin/phpstan analyze
|
||
|
depends_on:
|
||
|
- install
|
||
|
- name: ecs
|
||
|
image: php:8.1-cli-alpine
|
||
|
commands:
|
||
|
- cd app
|
||
|
- php ./vencor/bin/ecs
|
||
|
depends_on:
|
||
|
- install
|
||
|
|
||
|
|