mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 11:06:23 +00:00
ci: stages
This commit is contained in:
parent
3837c92030
commit
6a91a4179c
1 changed files with 5 additions and 5 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue