Squashed 'codespell-problem-matcher/' changes from 9561cf3..b80729f

b80729f Hopefully really fix the regex
a60df2a Properly fix the regex to optionally ignore the trailing space
fa77482 Run the tests twice, against master and pip release

git-subtree-dir: codespell-problem-matcher
git-subtree-split: b80729f885d32f78a716c2f107b4db1025001c42
This commit is contained in:
Peter Newman
2020-05-26 17:24:42 +01:00
parent a1828a7b9c
commit 8067cf40bc
2 changed files with 16 additions and 2 deletions
+15 -1
View File
@@ -6,7 +6,21 @@ on:
pull_request:
jobs:
test:
test-stable:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- uses: actions/setup-python@v1
- run: pip install codespell
- uses: ./
- name: Check codespell
run: codespell test/test.txt || true
- name: Check codespell on an unusually named file
run: codespell test/test:2.txt || true
- name: Check codespell on a binary file
run: codespell test/test.bin || true
test-master:
runs-on: ubuntu-latest
steps:
- name: Checkout
+1 -1
View File
@@ -15,7 +15,7 @@
"owner": "codespell-matcher-specified",
"pattern": [
{
"regexp": "^(ERROR|WARNING):\\s+(.+):\\s+(.+)\\s*$",
"regexp": "^(ERROR|WARNING):\\s+(.+):\\s+(.+?)\\s*$",
"file": 3,
"severity": 1,
"message": 2