Skip to content
Snippets Groups Projects
Unverified Commit 83b41897 authored by Franck Nijhof's avatar Franck Nijhof Committed by GitHub
Browse files

GitHub Actions: Add codespell problem matcher (#37487)

* GitHub Actions: Add codespell problem matcher

* Add some spelling issues for test

* Disable color, might throw off matcher

* Revert "Add some spelling issues for test"

This reverts commit 3afb59c8d9c4080621fc90d25d228fa308b80a4b.
parent c630037f
No related branches found
No related tags found
No related merge requests found
......@@ -195,10 +195,13 @@ jobs:
run: |
echo "Failed to restore Python virtual environment from cache"
exit 1
- name: Register codespell problem matcher
run: |
echo "::add-matcher::.github/workflows/matchers/codespell.json"
- name: Run codespell
run: |
. venv/bin/activate
pre-commit run --show-diff-on-failure --color=always --hook-stage manual codespell --all-files
pre-commit run --show-diff-on-failure --hook-stage manual codespell --all-files
lint-dockerfile:
name: Check Dockerfile
......
{
"problemMatcher": [
{
"owner": "codespell",
"severity": "warning",
"pattern": [
{
"regexp": "^(.+):(\\d+):\\s(.+)$",
"file": 1,
"line": 2,
"message": 3
}
]
}
]
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment