Skip to content

Commit a45df5a

Browse files
committed
Add python version for actions
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
1 parent 201f9bb commit a45df5a

File tree

6 files changed

+13
-0
lines changed

6 files changed

+13
-0
lines changed

.github/workflows/build_documentation.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ jobs:
3939

4040
- name: Set up Python
4141
uses: actions/setup-python@v4
42+
with:
43+
python-version: '3.x'
4244

4345
- name: check for classes in the menu example
4446
run: |
@@ -57,6 +59,8 @@ jobs:
5759

5860
- name: Set up Python
5961
uses: actions/setup-python@v4
62+
with:
63+
python-version: '3.x'
6064

6165
- name: Restore Python Dependencies
6266
uses: actions/cache@v3

.github/workflows/build_examples_platformio.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ jobs:
4747
4848
- name: Set up Python
4949
uses: actions/setup-python@v4
50+
with:
51+
python-version: '3.x'
5052

5153
- name: Install PlatformIO
5254
run: |

.github/workflows/build_menu.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,8 @@ jobs:
225225
226226
- name: Set up Python
227227
uses: actions/setup-python@v4
228+
with:
229+
python-version: '3.x'
228230

229231
- name: Install PlatformIO
230232
run: |

.github/workflows/prepare_release.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ jobs:
3131
3232
- name: Set up python
3333
uses: actions/setup-python@v4
34+
with:
35+
python-version: '3.x'
3436

3537
- name: Install PlatformIO
3638
run: |

.github/workflows/verify_library_structure.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717

1818
- name: Set up Python
1919
uses: actions/setup-python@v4
20+
with:
21+
python-version: '3.x'
2022

2123
- name: Install PlatformIO
2224
run: |

ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3131
- Moved all variable initialization to default header values and initializer lists
3232
- Converted all "c-style" casts to static casts
3333
- Switched cases of strcat and strcpy to snprintf
34+
- Specify python version 3.x for actions (used by PlatformIO)
3435

3536
### Added
3637

0 commit comments

Comments
 (0)