Skip to content

Commit 59d9592

Browse files
committed
enforce Python 3.10 in actions
1 parent 4bfb2d4 commit 59d9592

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/workflows/linux.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
pull_request:
1111
#release:
1212
# types: [created]
13-
#types: [published] # publish a draft release to set github.event_name = 'release'
13+
#types: [published] # publish a draft release to set github.event_name = 'release'
1414

1515
jobs:
1616
# This workflow contains a single job called "build"
@@ -29,6 +29,11 @@ jobs:
2929
sudo apt update
3030
sudo apt install pkg-config libudev-dev libusb-1.0-0-dev
3131
32+
- name: Setup Python
33+
uses: actions/setup-python@v5
34+
with:
35+
python-version: "3.10"
36+
3237
- name: Install Node.js and NPM
3338
uses: actions/setup-node@v3
3439
with:

.github/workflows/windows.yml

+5
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ jobs:
2828
- name: Setup prerequisites
2929
run: echo "no prereqs to set up"
3030

31+
- name: Setup Python
32+
uses: actions/setup-python@v5
33+
with:
34+
python-version: "3.10"
35+
3136
- name: Install Node.js and NPM
3237
uses: actions/setup-node@v3
3338
with:

0 commit comments

Comments
 (0)