Skip to content

Commit

Permalink
enforce Python 3.10 in actions
Browse files Browse the repository at this point in the history
  • Loading branch information
todbot committed Aug 26, 2024
1 parent 4bfb2d4 commit 59d9592
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
pull_request:
#release:
# types: [created]
#types: [published] # publish a draft release to set github.event_name = 'release'
#types: [published] # publish a draft release to set github.event_name = 'release'

jobs:
# This workflow contains a single job called "build"
Expand All @@ -29,6 +29,11 @@ jobs:
sudo apt update
sudo apt install pkg-config libudev-dev libusb-1.0-0-dev
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.10"

- name: Install Node.js and NPM
uses: actions/setup-node@v3
with:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ jobs:
- name: Setup prerequisites
run: echo "no prereqs to set up"

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.10"

- name: Install Node.js and NPM
uses: actions/setup-node@v3
with:
Expand Down

0 comments on commit 59d9592

Please sign in to comment.