Skip to content

Commit

Permalink
Update setup-python action to v5 (#4271)
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri authored Mar 11, 2024
2 parents c3dc91e + b40a70b commit fe64b70
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
- uses: actions/checkout@v4
- name: Setup Python
id: python-install
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
allow-prereleases: true
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
with:
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.x
- name: Install tox
Expand Down Expand Up @@ -171,7 +171,7 @@ jobs:
git,
- name: Record the currently selected Python version
id: python-install
# NOTE: This roughly emulates what `actions/setup-python@v4` provides
# NOTE: This roughly emulates what `actions/setup-python` provides
# NOTE: except the action gets the version from the installation path
# NOTE: on disk and we get it from runtime.
run: |
Expand Down Expand Up @@ -220,7 +220,7 @@ jobs:
sudo apt-get update
sudo apt-get install build-essential gfortran libopenblas-dev libyaml-dev
- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
# Use a release that is not very new but still have a long life:
python-version: "3.10"
Expand All @@ -241,7 +241,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.x
- name: Install tox
Expand Down

0 comments on commit fe64b70

Please sign in to comment.