Skip to content

Commit d5e3685

Browse files
committed
GH Action: Ensured python / uv is running the intended version
Signed-off-by: Ole Herman Schumacher Elgesem <[email protected]>
1 parent be21cdc commit d5e3685

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/make-check.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,15 @@ jobs:
3636
python -m pip install uv
3737
sudo apt-get install npm
3838
npm install --global prettier
39+
- name: Set python version file for uv
40+
run: |
41+
echo "${{ matrix.python-version }}" > .python-version
3942
- name: Run make check
4043
run: |
4144
make check
45+
- name: Reset python version file
46+
run: |
47+
git restore .python-version
4248
- name: See if there are changes
4349
run: |
4450
git diff --exit-code

0 commit comments

Comments
 (0)