Skip to content

Commit 8934dcb

Browse files
gha: bump actions/setup-python from 6 to 7 in the github-actions group (#300)
* gha: bump actions/setup-python from 6 to 7 in the github-actions group Bumps the github-actions group with 1 update: [actions/setup-python](https://github.com/actions/setup-python). Updates `actions/setup-python` from 6 to 7 - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@v6...v7) --- updated-dependencies: - dependency-name: actions/setup-python dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com> * Move pip install outside setup-python action * Add missing multiline character * Move pip install outside setup-python action --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Rafael Fontenelle <rffontenelle@gmail.com>
1 parent 93fa74a commit 8934dcb

2 files changed

Lines changed: 14 additions & 6 deletions

File tree

.github/workflows/check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
fetch-depth: 5
5858

5959
- name: Set up Python 3
60-
uses: actions/setup-python@v6
60+
uses: actions/setup-python@v7
6161
with:
6262
python-version: ${{ inputs.version }}
6363
cache: pip
@@ -144,7 +144,7 @@ jobs:
144144
fetch-depth: 5
145145

146146
- name: Set up Python 3
147-
uses: actions/setup-python@v6
147+
uses: actions/setup-python@v7
148148
with:
149149
python-version: ${{ inputs.version }}
150150
cache: pip

.github/workflows/sync.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,11 @@ jobs:
4141
ref: ${{ env.PYDOC_VERSION }}
4242
path: ${{ env.PYDOC_LANG_DIR }}
4343

44-
- uses: actions/setup-python@v6
44+
- uses: actions/setup-python@v7
4545
with:
4646
python-version: ${{ inputs.version }}
4747
allow-prereleases: true
4848
cache: 'pip'
49-
pip-install: -r requirements.txt
5049

5150
# 2- Install dependencies
5251

@@ -55,6 +54,11 @@ jobs:
5554
cd /usr/local/bin
5655
curl -o- https://raw.githubusercontent.com/transifex/cli/master/install.sh | bash -s -- v$TX_CLI_VERSION
5756
57+
- name: Install Python packages
58+
run: |
59+
python -m pip install -U pip
60+
python -m pip install -r requirements.txt
61+
5862
- name: Install APT dependencies
5963
run: sudo apt update -y && sudo apt install gettext -y
6064

@@ -135,12 +139,16 @@ jobs:
135139
ref: ${{ env.PYDOC_VERSION }}
136140
path: ${{ env.PYDOC_LANG_DIR }}
137141

138-
- uses: actions/setup-python@v6
142+
- uses: actions/setup-python@v7
139143
with:
140144
python-version: ${{ inputs.version }}
141145
allow-prereleases: true
142146
cache: 'pip'
143-
pip-install: -r requirements.txt
147+
148+
- name: Install Python packages
149+
run: |
150+
python -m pip install -U pip
151+
python -m pip install -r requirements.txt
144152
145153
# 2- Remove PO files and the download files (excluding obsolete)
146154

0 commit comments

Comments
 (0)