Skip to content

Commit 0b49d0d

Browse files
committed
set python version
1 parent 39ec30c commit 0b49d0d

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/check-test.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,13 @@ jobs:
5757
- name: Install npm
5858
run: npm install -g npm@8
5959

60+
- name: Use [email protected]
61+
# Default Python (3.12) doesn't have support for distutils
62+
# https://github.com/nodejs/node-gyp/issues/2869
63+
uses: actions/setup-python@v4
64+
with:
65+
python-version: '3.11'
66+
6067
- name: Install Dependencies
6168
run: |
6269
# Dependencies are included when installing as npm workspaces will
@@ -81,11 +88,6 @@ jobs:
8188
run: npm run check-ci -- --stream --since ${SINCE_REF} --exclude-dependents
8289
shell: bash
8390

84-
# temporary check
85-
- name: Check saslprep
86-
run: npm explain @mongodb-js/saslprep
87-
shell: bash
88-
8991
- name: Run Tests
9092
run: npm run test-ci -- --stream --since ${SINCE_REF}
9193
shell: bash

0 commit comments

Comments
 (0)