| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,15 @@ | |||
| 1 | + { | ||
| 2 | + "problemMatcher": [ | ||
| 3 | + { | ||
| 4 | + "owner": "sphinx-lint-problem-matcher", | ||
| 5 | + "pattern": [ | ||
| 6 | + { | ||
| 7 | + "regexp": "^(.*):(\\d+):\\s+(.*)$", | ||
| 8 | + "file": 1, | ||
| 9 | + "line": 2, | ||
| 10 | + "message": 3 | ||
| 11 | + } | ||
| 12 | + ] | ||
| 13 | + } | ||
| 14 | + ] | ||
| 15 | + } | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -58,16 +58,24 @@ jobs: | |||
| 58 | 58 | ref: ${{ env.I18N_BRANCH }} | |
| 59 | 59 | ||
| 60 | 60 | - name: Set up Python | |
| 61 | - uses: actions/setup-python@v4 | ||
| 61 | + uses: actions/setup-python@v5 | ||
| 62 | 62 | with: | |
| 63 | 63 | python-version: >- | |
| 64 | 64 | 3.10 | |
| 65 | 65 | ||
| 66 | 66 | - name: Install Python tooling | |
| 67 | 67 | run: python -m pip install --upgrade nox virtualenv sphinx-lint | |
| 68 | 68 | ||
| 69 | + - name: Set Sphinx problem matcher | ||
| 70 | + uses: sphinx-doc/github-problem-matcher@v1.0 | ||
| 71 | + | ||
| 69 | 72 | - name: Build translated docs in ${{ matrix.language }} | |
| 70 | 73 | run: nox -s build -- -q -D language=${{ matrix.language }} | |
| 71 | 74 | ||
| 75 | + - name: Set Sphinx Lint problem matcher | ||
| 76 | + if: always() | ||
| 77 | + run: echo '::add-matcher::.github/sphinx_lint_matcher.json' | ||
| 78 | + | ||
| 72 | 79 | - name: Lint translation file | |
| 80 | + if: always() | ||
| 73 | 81 | run: sphinx-lint locales/${{ matrix.language }}/LC_MESSAGES/messages.po | |
| Back | FazBrowse Home | New Git URL |
0 commit comments