Skip to content

Commit 5a5ff3e

Browse files
ci: update checkout and setupPython versions and standardize caching
1 parent 24eca8b commit 5a5ff3e

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

.github/workflows/test-translations.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,9 @@ jobs:
6060
- name: Set up Python
6161
uses: actions/setup-python@v5
6262
with:
63-
python-version: >-
64-
3.10
63+
python-version: "3.11"
64+
cache: "pip"
65+
cache-dependency-path: "requirements.txt"
6566

6667
- name: Install Python tooling
6768
run: python -m pip install --upgrade nox virtualenv sphinx-lint

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
- linkcheck
2525

2626
steps:
27-
- uses: actions/checkout@v3
27+
- uses: actions/checkout@v4
2828

2929
- name: Set up Python
30-
uses: actions/setup-python@v4
30+
uses: actions/setup-python@v5
3131
with:
3232
python-version: "3.11"
3333
cache: 'pip'

.github/workflows/translation.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
steps:
2121
- name: Grab the repo src
22-
uses: actions/checkout@v3
22+
uses: actions/checkout@v4
2323
with:
2424
fetch-depth: 0 # To reach the common commit
2525
- name: Set up git user as [bot]
@@ -51,10 +51,11 @@ jobs:
5151
git merge '${{ github.event.repository.default_branch }}'
5252
5353
- name: Set up Python
54-
uses: actions/setup-python@v4
54+
uses: actions/setup-python@v5
5555
with:
56-
python-version: >-
57-
3.10
56+
python-version: "3.11"
57+
cache: "pip"
58+
cache-dependency-path: "requirements.txt"
5859

5960
- name: Install Python tooling
6061
run: python -m pip install --upgrade nox virtualenv

0 commit comments

Comments
 (0)