diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index bfaf67c5c..dcd3d998b 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -57,7 +57,7 @@ jobs: fetch-depth: 5 - name: Set up Python 3 - uses: actions/setup-python@v6 + uses: actions/setup-python@v7 with: python-version: ${{ inputs.version }} cache: pip @@ -144,7 +144,7 @@ jobs: fetch-depth: 5 - name: Set up Python 3 - uses: actions/setup-python@v6 + uses: actions/setup-python@v7 with: python-version: ${{ inputs.version }} cache: pip diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index 2d4d16598..e49c7a203 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -41,12 +41,11 @@ jobs: ref: ${{ env.PYDOC_VERSION }} path: ${{ env.PYDOC_LANG_DIR }} - - uses: actions/setup-python@v6 + - uses: actions/setup-python@v7 with: python-version: ${{ inputs.version }} allow-prereleases: true cache: 'pip' - pip-install: -r requirements.txt # 2- Install dependencies @@ -55,6 +54,11 @@ jobs: cd /usr/local/bin curl -o- https://raw.githubusercontent.com/transifex/cli/master/install.sh | bash -s -- v$TX_CLI_VERSION + - name: Install Python packages + run: | + python -m pip install -U pip + python -m pip install -r requirements.txt + - name: Install APT dependencies run: sudo apt update -y && sudo apt install gettext -y @@ -135,12 +139,16 @@ jobs: ref: ${{ env.PYDOC_VERSION }} path: ${{ env.PYDOC_LANG_DIR }} - - uses: actions/setup-python@v6 + - uses: actions/setup-python@v7 with: python-version: ${{ inputs.version }} allow-prereleases: true cache: 'pip' - pip-install: -r requirements.txt + + - name: Install Python packages + run: | + python -m pip install -U pip + python -m pip install -r requirements.txt # 2- Remove PO files and the download files (excluding obsolete)