5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-05-17 11:30:49 +00:00

ci: stages

This commit is contained in:
f 2024-01-08 17:59:27 -03:00
parent 3837c92030
commit 6a91a4179c
No known key found for this signature in database

View file

@ -21,19 +21,19 @@ assets:
- "git add public && git commit -m \"ci: assets [skip ci]\""
- "git push -o ci.skip"
gem-audit:
stage: "audit"
stage: "test"
before_script:
- "apk add go-task"
- "gem install bundler-audit"
script:
- "go-task gem-audit"
node-audit:
stage: "audit"
stage: "test"
script:
- "apk add go-task"
- "go-task node-audit"
brakeman:
stage: "lint"
stage: "test"
rules:
- if: "$CI_PIPELINE_SOURCE == \"merge_request_event\""
before_script:
@ -41,7 +41,7 @@ brakeman:
script:
- "go-task bundle -- exec brakeman"
rubocop:
stage: "lint"
stage: "test"
rules:
- if: "$CI_PIPELINE_SOURCE == \"merge_request_event\""
before_script:
@ -49,7 +49,7 @@ rubocop:
script:
- "./bin/modified_files | grep .rb | xargs go-task bundle -- exec rubocop"
haml:
stage: "lint"
stage: "test"
rules:
- if: "$CI_PIPELINE_SOURCE == \"merge_request_event\""
before_script: