This repository has been archived on 2024-04-25. You can view files and clone it, but cannot push or open issues or pull requests.
quintolin/.gitlab-ci.yml

44 lines
957 B
YAML

include:
- template: 'Jobs/Secret-Detection.gitlab-ci.yml'
- template: 'Security/SAST.gitlab-ci.yml'
lint-composer-validate:
image:
name: 'php:8.3'
interruptible: true
parallel:
matrix:
- WORKING_DIR:
- 'modules/core'
- 'modules/storage'
- 'website'
rules:
- changes:
paths:
- '$WORKING_DIR/composer.*'
script:
- 'curl -sS https://getcomposer.org/installer | php'
- >
php composer.phar validate
--working-dir="$WORKING_DIR"
--strict
--no-check-version
lint-editorconfig:
image:
name: 'mstruebing/editorconfig-checker:2.7.2'
interruptible: true
script:
- 'ec -version'
- 'ec -verbose'
lint-php-coding-style:
image:
name: 'ghcr.io/php-cs-fixer/php-cs-fixer:3.49-php8.3'
entrypoint:
- ''
interruptible: true
script:
- 'ls -lah'
- 'which php-cs-fixer'
- 'php-cs-fixer check -vvv --format gitlab'