generated from Templates/Baseline
add linters
This commit is contained in:
parent
361f8ca67e
commit
35d833c055
@ -26,6 +26,26 @@ variables:
|
||||
from_secret: gitea_passwd
|
||||
|
||||
steps:
|
||||
lint-dockerfile:
|
||||
image: hadolint/hadolint:v2.12.1-beta-alpine
|
||||
commands:
|
||||
- hadolint --ignore DL3003 --ignore DL3018 Dockerfile
|
||||
when:
|
||||
path: "Dockerfile"
|
||||
|
||||
lint-markdown:
|
||||
image: davidanson/markdownlint-cli2:v0.13.0
|
||||
commands:
|
||||
- "markdownlint-cli2 *.{md,markdown}"
|
||||
when:
|
||||
path: "*.{md,markdown}"
|
||||
|
||||
lint-editorconfig:
|
||||
depends_on: []
|
||||
image: docker.io/mstruebing/editorconfig-checker:v3.0.1
|
||||
when:
|
||||
event: pull_request
|
||||
|
||||
test:
|
||||
image: *build_plugin
|
||||
settings:
|
||||
|
Loading…
Reference in New Issue
Block a user