Skip to content

Commit d92ccc9

Browse files
Vincent PaladinoVincent Paladino
authored andcommitted
Update GH Action Python Versions
Github Actions removes python versions that have reached EOL. For example: https://github.com/actions/runner-images/issues/12034?utm_source=chatgpt.com We are updating the actions to a python version that is still supported and available for use in github action
1 parent 3a7f79c commit d92ccc9

4 files changed

Lines changed: 14 additions & 14 deletions

File tree

.github/workflows/build_docs_test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ jobs:
1818
runs-on: ubuntu-latest
1919

2020
steps:
21-
- uses: actions/checkout@v2
22-
- name: Set up Python 3.7
23-
uses: actions/setup-python@v1
21+
- uses: actions/checkout@v4
22+
- name: Set up Python 3.9
23+
uses: actions/setup-python@v5
2424
with:
25-
python-version: 3.7
25+
python-version: '3.9'
2626
- name: Build Docs
2727
run: |
2828
cd docs/scripts && bash generateFromDocstrings.sh

.github/workflows/build_package_test_linux.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ jobs:
2020
runs-on: ubuntu-latest
2121

2222
steps:
23-
- uses: actions/checkout@v2
24-
- name: Set up Python 3.7
25-
uses: actions/setup-python@v1
23+
- uses: actions/checkout@v4
24+
- name: Set up Python 3.9
25+
uses: actions/setup-python@v5
2626
with:
27-
python-version: 3.7
27+
python-version: '3.9'
2828
- name: Update pip
2929
run: |
3030
python -m pip install --upgrade pip

.github/workflows/build_package_test_win.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ jobs:
2020
runs-on: windows-latest
2121

2222
steps:
23-
- uses: actions/checkout@v2
24-
- name: Set up Python 3.7
25-
uses: actions/setup-python@v1
23+
- uses: actions/checkout@v4
24+
- name: Set up Python 3.9
25+
uses: actions/setup-python@v5
2626
with:
27-
python-version: 3.7
27+
python-version: '3.9'
2828
- name: Update pip
2929
run: |
3030
python -m pip install --upgrade pip

.github/workflows/py_cui_test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
python-version: [3.6, 3.7, 3.8, 3.9]
13+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
1414

1515
steps:
1616
- uses: actions/checkout@v2
1717
- name: Set up Python ${{ matrix.python-version }}
18-
uses: actions/setup-python@v1
18+
uses: actions/setup-python@v5
1919
with:
2020
python-version: ${{ matrix.python-version }}
2121
- name: Install dependencies

0 commit comments

Comments
 (0)