Skip to content

Commit a3a5284

Browse files
committed
add setup-python to actions
1 parent 1298a02 commit a3a5284

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

.github/workflows/lint-test-build.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ jobs:
2121

2222
steps:
2323
- uses: actions/checkout@v2
24+
- name: Set up Python ${{ matrix.python-version }}
25+
uses: actions/setup-python@v2
26+
with:
27+
python-version: ${{ matrix.python-version }}
2428
- name: Run build pipeline for linting, testing & packaging verification.
2529
uses: pypyr/run-in-tox-action@master
2630
with:

.github/workflows/publish.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v2
12+
- name: Set up Python
13+
uses: actions/setup-python@v2
14+
with:
15+
python-version: '3.x'
1216
- name: Run publish pipeline
1317
uses: pypyr/run-in-tox-action@master
1418
with:

.github/workflows/tag-release.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ jobs:
1818
with:
1919
# pull all tags also
2020
fetch-depth: 0
21+
- name: Set up Python
22+
uses: actions/setup-python@v2
23+
with:
24+
python-version: '3.x'
2125
- name: run tag pipeline.
2226
uses: pypyr/run-in-tox-action@master
2327
with:

0 commit comments

Comments
 (0)