Skip to content

Commit 8f6cc98

Browse files
committed
workflows: Use python-verion in setup-python actions explicitly
Avoids a warning
1 parent a6e2f18 commit 8f6cc98

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ jobs:
5757

5858
- name: Set up Python
5959
uses: actions/setup-python@v4
60+
with:
61+
python-version: "3.x"
6062

6163
- name: Build source distribution
6264
run: |
@@ -76,6 +78,8 @@ jobs:
7678
steps:
7779
- uses: actions/checkout@v3
7880
- uses: actions/setup-python@v4
81+
with:
82+
python-version: "3.x"
7983
- run: pip install cibuildwheel==2.10.2
8084
- id: set-matrix
8185
run: |
@@ -144,7 +148,7 @@ jobs:
144148
- name: Set up Python
145149
uses: actions/setup-python@v4
146150
with:
147-
python-version: 3.8
151+
python-version: "3.x"
148152

149153
- name: Build docs
150154
run: |

.github/workflows/tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ jobs:
113113
- name: Set up Python ${{ matrix.python-version }}
114114
uses: actions/setup-python@v4
115115
if: steps.release.outputs.version == 0
116+
with:
117+
python-version: "3.x"
116118

117119
- name: Install Python Deps
118120
if: steps.release.outputs.version == 0

0 commit comments

Comments
 (0)