GitHub Action to run lint, format, and integrity checks on a Mark project with GitHub annotations that appear inline in PR diffs.
steps:
- uses: actions/checkout@v4
- uses: accuser/setup-mark@v1
- uses: accuser/check-mark@v1
with:
strict: trueNote: Mark must be installed before using this action. Use accuser/setup-mark or install Mark manually.
| Input | Default | Description |
|---|---|---|
working-directory |
. |
Project root directory |
strict |
false |
Treat warnings as errors |
lint |
true |
Run mark lint |
format |
true |
Run mark format --check |
check |
true |
Run mark check |
- Lint — Markdown style and formatting rules
- Format — Verifies files match canonical formatting (
mark format --check) - Check — Document integrity: broken references, missing citations, invalid assets
Issues are reported as GitHub annotations that appear inline in pull request diffs.
MIT