28 lines
642 B
YAML
28 lines
642 B
YAML
---
|
|
when:
|
|
- event: [pull_request, tag]
|
|
- event: [push, manual]
|
|
branch:
|
|
- ${CI_REPO_DEFAULT_BRANCH}
|
|
|
|
steps:
|
|
- name: markdownlint
|
|
image: quay.io/thegeeklab/markdownlint-cli
|
|
group: test
|
|
commands:
|
|
- markdownlint 'README.md'
|
|
|
|
- name: spellcheck
|
|
image: quay.io/thegeeklab/alpine-tools
|
|
group: test
|
|
commands:
|
|
- spellchecker --files 'README.md' -d .dictionary -p spell indefinite-article syntax-urls
|
|
environment:
|
|
FORCE_COLOR: "true"
|
|
|
|
- name: link-validation
|
|
image: docker.io/lycheeverse/lychee
|
|
group: test
|
|
commands:
|
|
- lychee --no-progress --format detailed README.md
|