Merge commit '8067cf40bc09fd81ed9cddd33b0b399145f33deb'
This commit is contained in:
+15
-1
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user