aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2024-09-04 07:38:40 +0000
committerJan-Hendrik Willms <tleilax+github@gmail.com>2024-09-04 09:39:02 +0200
commit32ae60c2ed96b1880c6854455ad3070761ec98fb (patch)
treec2ea3ed874a2c972c5201ca114ad593abd56d3f5 /.gitlab-ci.yml
parent263f9c1192304695454c8eec20705f4f1c5fa4e6 (diff)
fix phpstan configuration for gitlab ci, fixes #4559
Closes #4559 Merge request studip/studip!3363
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml14
1 files changed, 7 insertions, 7 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d97565e..7f8d268 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -190,7 +190,7 @@ lint-css:
- *mkdir-reports
- npm install
--no-save --no-audit --no-fund
- --loglevel=error
+ --loglevel=error
stylelint@^14.9.1
stylelint-config-standard@^26.0.0
stylelint-formatter-gitlab
@@ -198,7 +198,7 @@ lint-css:
- npx
stylelint
--cache --cache-location $CACHE_LOCATION
- --custom-formatter=node_modules/stylelint-formatter-gitlab
+ --custom-formatter=node_modules/stylelint-formatter-gitlab
--output-file $STYLELINT_CODE_QUALITY_REPORT
resources/assets/stylesheets
artifacts:
@@ -223,12 +223,12 @@ phpstan:
- *mkdir-caches
- *mkdir-reports
- *install-composer
- - 'echo "includes:\n - phpstan.neon.dist\n\nparameters:\n tmpDir: $PHPSTAN_CACHE_PATH" > phpstan.neon'
+ - 'echo -e "includes:\n - phpstan.neon.dist\n\nparameters:\n tmpDir: $PHPSTAN_CACHE_PATH" > phpstan.neon'
script:
- php
- composer/bin/phpstan analyse
- --memory-limit=1G
- --no-progress
+ composer/bin/phpstan analyse
+ --memory-limit=1G
+ --no-progress
--level=$PHPSTAN_LEVEL
--error-format=gitlab > $PHPSTAN_CODE_QUALITY_REPORT
after_script:
@@ -414,7 +414,7 @@ packaging:
expire_in: never
build_image:
- image:
+ image:
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
stage: build