From cd5fb8ea43fde02d6c0b5e07db542a3d41d4718b Mon Sep 17 00:00:00 2001 From: Brian Smith <112954497+brian-smith-tcril@users.noreply.github.com> Date: Mon, 26 Aug 2024 09:24:55 -0400 Subject: [PATCH] fix: install requirements before validating translations --- .github/workflows/validate-translation-files.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/validate-translation-files.yml b/.github/workflows/validate-translation-files.yml index c0bf338a9f4..30267e825f8 100644 --- a/.github/workflows/validate-translation-files.yml +++ b/.github/workflows/validate-translation-files.yml @@ -31,6 +31,22 @@ jobs: run: | sudo apt install -y gettext + - name: setup python + if: steps.filter.outputs.pofiles == 'true' + uses: actions/setup-python@v4 + id: setup_python + with: + python-version: '3.8' + cache: pip + cache-dependency-path: | + requirements/translations.txt + + - name: Install requirements + if: steps.filter.outputs.pofiles == 'true' + run: | + python --version + make translations_scripts_requirements + - name: Validate translation files id: validate_translation_files if: steps.filter.outputs.pofiles == 'true'