Skip to content

Commit fe64b70

Browse files
authored
Update setup-python action to v5 (#4271)
2 parents c3dc91e + b40a70b commit fe64b70

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Diff for: .github/workflows/main.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
- uses: actions/checkout@v4
6666
- name: Setup Python
6767
id: python-install
68-
uses: actions/setup-python@v4
68+
uses: actions/setup-python@v5
6969
with:
7070
python-version: ${{ matrix.python }}
7171
allow-prereleases: true
@@ -122,7 +122,7 @@ jobs:
122122
with:
123123
fetch-depth: 0
124124
- name: Setup Python
125-
uses: actions/setup-python@v4
125+
uses: actions/setup-python@v5
126126
with:
127127
python-version: 3.x
128128
- name: Install tox
@@ -171,7 +171,7 @@ jobs:
171171
git,
172172
- name: Record the currently selected Python version
173173
id: python-install
174-
# NOTE: This roughly emulates what `actions/setup-python@v4` provides
174+
# NOTE: This roughly emulates what `actions/setup-python` provides
175175
# NOTE: except the action gets the version from the installation path
176176
# NOTE: on disk and we get it from runtime.
177177
run: |
@@ -220,7 +220,7 @@ jobs:
220220
sudo apt-get update
221221
sudo apt-get install build-essential gfortran libopenblas-dev libyaml-dev
222222
- name: Setup Python
223-
uses: actions/setup-python@v4
223+
uses: actions/setup-python@v5
224224
with:
225225
# Use a release that is not very new but still have a long life:
226226
python-version: "3.10"
@@ -241,7 +241,7 @@ jobs:
241241
steps:
242242
- uses: actions/checkout@v4
243243
- name: Setup Python
244-
uses: actions/setup-python@v4
244+
uses: actions/setup-python@v5
245245
with:
246246
python-version: 3.x
247247
- name: Install tox

0 commit comments

Comments
 (0)