add linters

This commit is contained in:
OCram85 2024-05-16 11:24:50 +02:00
parent 361f8ca67e
commit 35d833c055

View File

@ -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: