Skip to content

Commit d28e1f1

Browse files
committed
GH Action: Ensured python / uv is running the intended version
Signed-off-by: Ole Herman Schumacher Elgesem <ole@northern.tech>
1 parent 7e552e2 commit d28e1f1

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)