CI example (linter)
- Using ShellCheck to check .sh files ---> adullact/partage-gitlab-ci#2
-
https://gitlab.com/asqatasun/asqatasun-docker/-/blob/main/.gitlab/ci/lint.gitlab-ci.yml
# Hadolint ---> DockerFile linter # Docker-Compose ---> docker-compose.yml files linter # Dotenv ---> .env files linter # Yamllint ---> Yaml files linter # ShellCheck ---> shell scripts linter
-
https://gitlab.com/asqatasun/asqatasun-docker/-/blob/main/.gitlab/ci/docs.gitlab-ci.yml
# markdownlint ---> Markdown files linter # remark-validate-links ---> check that Markdown links and images reference existing local files and headings. # remark-lint-no-dead-urls ---> check that external URLs in Markdown files are alive.
- Super-Linter https://github.com/github/super-linter
- Run the super-linter Action inside of GitLab https://gitlab.com/snippets/1988376