feat(ci): move linting over to components
This commit is contained in:
parent
bbbd8baf31
commit
2c5d3604a5
2 changed files with 3 additions and 13 deletions
|
|
@ -15,5 +15,7 @@ include:
|
|||
# deployment
|
||||
- local: ".gitlab/build.yaml"
|
||||
- local: ".gitlab/deployment.yaml"
|
||||
- local: ".gitlab/linting.yaml"
|
||||
|
||||
# linting
|
||||
- component: "$CI_SERVER_FQDN/components/markdownlint/markdownlint@1.0.0"
|
||||
- component: "$CI_SERVER_FQDN/components/yamllint/yamllint@1.0.2"
|
||||
|
|
|
|||
|
|
@ -1,12 +0,0 @@
|
|||
---
|
||||
|
||||
# markdownlint
|
||||
markdown-lint:
|
||||
stage: "linting"
|
||||
image:
|
||||
name: "docker.io/davidanson/markdownlint-cli2:v0.18.1"
|
||||
entrypoint: ["/bin/sh", "-c"]
|
||||
script:
|
||||
|
||||
# run markdownlint
|
||||
- "markdownlint-cli2 --config .markdownlint-cli2.jsonc"
|
||||
Loading…
Add table
Add a link
Reference in a new issue