File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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,21 @@ jobs:
5858 ref : ${{ env.I18N_BRANCH }}
5959
6060 - name : Set up Python
61- uses : actions/setup-python@v4
61+ uses : actions/setup-python@v5
6262 with :
6363 python-version : >-
6464 3.10
6565
6666 - name : Install Python tooling
6767 run : python -m pip install --upgrade nox virtualenv sphinx-lint
6868
69+ - name : Set Sphinx problem matcher
70+ uses : sphinx-doc/github-problem-matcher@master
71+
6972 - name : Build translated docs in ${{ matrix.language }}
7073 run : nox -s build -- -q -D language=${{ matrix.language }}
7174
7275 - name : Lint translation file
73- run : sphinx-lint locales/${{ matrix.language }}/LC_MESSAGES/messages.po
76+ run : |
77+ echo '::add-matcher::.github/sphinx_lint_matcher.json'
78+ sphinx-lint locales/${{ matrix.language }}/LC_MESSAGES/messages.po
You can’t perform that action at this time.
0 commit comments