diff --git a/codespell-problem-matcher/.github/workflows/test.yml b/codespell-problem-matcher/.github/workflows/test.yml index 2a05433..5116018 100644 --- a/codespell-problem-matcher/.github/workflows/test.yml +++ b/codespell-problem-matcher/.github/workflows/test.yml @@ -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 diff --git a/codespell-problem-matcher/codespell-matcher.json b/codespell-problem-matcher/codespell-matcher.json index 7e7abfc..cded56c 100644 --- a/codespell-problem-matcher/codespell-matcher.json +++ b/codespell-problem-matcher/codespell-matcher.json @@ -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