Skip to content

Commit

Permalink
Split steps for add-matcher and lint commands
Browse files Browse the repository at this point in the history
  • Loading branch information
rffontenelle committed Jan 3, 2024
1 parent 86eb51d commit 0145ba5
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/test-translations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,10 @@ jobs:
- name: Build translated docs in ${{ matrix.language }}
run: nox -s build -- -q -D language=${{ matrix.language }}

- name: Set Sphinx Lint problem matcher
if: always()
run: echo '::add-matcher::.github/sphinx_lint_matcher.json'

- name: Lint translation file
run: |
echo '::add-matcher::.github/sphinx_lint_matcher.json'
sphinx-lint locales/${{ matrix.language }}/LC_MESSAGES/messages.po
if: always()
run: sphinx-lint locales/${{ matrix.language }}/LC_MESSAGES/messages.po

0 comments on commit 0145ba5

Please sign in to comment.