Skip to content

Commit 0145ba5

Browse files
committed
Split steps for add-matcher and lint commands
1 parent 86eb51d commit 0145ba5

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/test-translations.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,10 @@ jobs:
7272
- name: Build translated docs in ${{ matrix.language }}
7373
run: nox -s build -- -q -D language=${{ matrix.language }}
7474

75+
- name: Set Sphinx Lint problem matcher
76+
if: always()
77+
run: echo '::add-matcher::.github/sphinx_lint_matcher.json'
78+
7579
- name: Lint translation file
76-
run: |
77-
echo '::add-matcher::.github/sphinx_lint_matcher.json'
78-
sphinx-lint locales/${{ matrix.language }}/LC_MESSAGES/messages.po
80+
if: always()
81+
run: sphinx-lint locales/${{ matrix.language }}/LC_MESSAGES/messages.po

0 commit comments

Comments
 (0)