Skip to content

Commit ab576a6

Browse files
committed
CI: consistently use Python 3.9
1 parent 0b99f47 commit ab576a6

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/CI.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,10 @@ jobs:
154154
steps:
155155
- uses: actions/checkout@v3
156156

157-
- name: "Set up Python 3.7"
157+
- name: "Set up Python"
158158
uses: actions/setup-python@v4
159159
with:
160-
python-version: 3.7
160+
python-version: 3.9
161161

162162
- uses: gap-actions/setup-cygwin@v1
163163
if: ${{ runner.os == 'Windows' }}

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ jobs:
5858
5959
- name: "Set up Python"
6060
uses: actions/setup-python@v4
61+
with:
62+
python-version: 3.9
6163
- name: "Install Python modules"
6264
run: pip3 install PyGithub python-dateutil
6365
- name: "Install latex"
@@ -233,6 +235,8 @@ jobs:
233235

234236
- uses: actions/setup-python@v4
235237
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
238+
with:
239+
python-version: 3.9
236240

237241
- name: "Install required Python modules"
238242
if: ${{ startsWith(github.ref, 'refs/tags/v') }}

0 commit comments

Comments
 (0)