5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 17:46:22 +00:00

ci: no hacer nada si no hay nada que hacer

This commit is contained in:
f 2024-01-08 18:25:24 -03:00
parent 6d24e7c56a
commit e0a2149483
No known key found for this signature in database

View file

@ -2,7 +2,6 @@
- "apk add go-task diffutils"
.disable-hainish: &disable-hainish
- "echo \"HAINISH=\" >> .env.production"
image: "gitea.nulo.in/sutty/panel:3.17.3-3.1.4-rails"
variables:
RAILS_ENV: "production"
@ -60,7 +59,7 @@ rubocop:
- *apk-add
- *disable-hainish
script:
- "./bin/modified_files | grep .rb | xargs go-task bundle -- exec rubocop"
- "./bin/modified_files | grep .rb | xargs -r go-task bundle -- exec rubocop"
haml:
stage: "test"
rules:
@ -69,4 +68,4 @@ haml:
- *apk-add
- *disable-hainish
script:
- "./bin/modified_files | grep .haml | xargs go-task bundle -- exec haml-lint"
- "./bin/modified_files | grep .haml | xargs -r go-task bundle -- exec haml-lint"