Skip to content

Commit 0e3a693

Browse files
committed
gha: install uv
1 parent 8ec86f0 commit 0e3a693

File tree

2 files changed

+10
-14
lines changed

2 files changed

+10
-14
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,12 @@ jobs:
5656
path: ${{ github.workspace }}/.nox/tests-${{ matrix.python }}
5757
key: "nox|${{ matrix.os }}|tests-${{ matrix.python }}|${{ env.PY_CACHE_KEY }}|${{ hashFiles('noxfile.py', 'setup.py', 'pyproject.toml') }}"
5858

59-
- name: Update tools and print info
59+
- name: Install tools and print info
6060
run: |
61-
pip install -U pip setuptools virtualenv
62-
pip list
63-
64-
- name: Install nox
65-
run: pip install nox==2023.4.22
61+
pip install -U pip uv nox
62+
pip --version
63+
uv --version
64+
nox --version
6665
6766
- name: Test
6867
env:

.github/workflows/lint.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,12 @@ jobs:
4646
path: ${{ github.workspace }}/.nox/lint
4747
key: "nox-lint|${{ matrix.os }}|${{ env.PY_CACHE_KEY }}|${{ hashFiles('noxfile.py', 'setup.py', 'pyproject.toml') }}"
4848

49-
- name: Update pip/setuptools
49+
- name: Install tools
5050
run: |
51-
pip install -U pip setuptools
52-
53-
- name: Install nox
54-
run: pip install nox==2023.4.22
55-
56-
- name: Version information
57-
run: pip list
51+
pip install -U pip uv nox
52+
pip --version
53+
uv --version
54+
nox --version
5855
5956
- name: Lint
6057
run: nox -v -s lint

0 commit comments

Comments
 (0)