diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 1e59a002e..154e83a78 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -52,7 +52,7 @@ jobs: matrix: format: [ html, latex, epub ] steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 with: fetch-depth: 5 @@ -99,14 +99,14 @@ jobs: - name: Upload artifact - log files if: always() && steps.build.outcome == 'failure' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: logs-${{ inputs.version }}-${{ matrix.format }} path: logs/* - name: Upload artifact - docs if: always() && steps.build.outcome == 'success' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: python-docs-pt-br-${{ inputs.version }}-${{ matrix.format }} path: cpython/Doc/build/${{ matrix.format }} @@ -117,13 +117,13 @@ jobs: runs-on: ubuntu-latest needs: [ 'build' ] steps: - - uses: actions/download-artifact@v6 + - uses: actions/download-artifact@v8 with: name: python-docs-pt-br-${{ inputs.version }}-latex - run: sudo apt-get update - run: sudo apt-get install -y latexmk texlive-xetex fonts-freefont-otf xindy texlive-lang-portuguese - run: make - - uses: actions/upload-artifact@v5 + - uses: actions/upload-artifact@v7 if: always() with: name: python-docs-pt-br-${{ inputs.version }}-pdf @@ -135,7 +135,7 @@ jobs: name: Lint translations runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 with: fetch-depth: 5 @@ -182,7 +182,7 @@ jobs: - name: Upload artifact - log files if: always() && steps.lint.outcome == 'failure' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: ${{ inputs.version }}-lint-logs path: logs/* @@ -195,7 +195,7 @@ jobs: name: Check for zero-width space characters runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 with: ref: ${{ inputs.version }} diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index fb5f86c93..3a7f526af 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -30,14 +30,14 @@ jobs: # 1- Set up environment - name: Check out this repository - uses: actions/checkout@v5 + uses: actions/checkout@v6 - name: Set language dir variable run: echo "PYDOC_LANG_DIR=${{ env.PYDOC_VERSION }}" >> $GITHUB_ENV - name: Checkout this repository ${{ env.PYDOC_VERSION }} - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: ref: ${{ env.PYDOC_VERSION }} path: ${{ env.PYDOC_LANG_DIR }} @@ -47,7 +47,7 @@ jobs: python-version: ${{ inputs.version }} allow-prereleases: true cache: 'pip' - cache-dependency-path: requirements.txt + pip-install: -r requirements.txt # 2- Install dependencies @@ -59,10 +59,6 @@ jobs: - name: Install APT dependencies run: sudo apt update -y && sudo apt install gettext -y - - name: Install Python dependencies - run: | - pip install -r requirements.txt - # 3- Pull translations - name: Generate updated .tx/config diff --git a/requirements.txt b/requirements.txt index 04f125b84..23aaf5bae 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ polib==1.2.0 -pomerge==0.1.4 -potodo==0.31 +pomerge==0.2.1 +potodo==0.35 powrap==1.0.2 sphinx-intl==2.3.2 -sphinx-lint==1.0.1 +sphinx-lint==1.0.2