Skip to content

Commit

Permalink
gha: install uv
Browse files Browse the repository at this point in the history
  • Loading branch information
bretello committed Jan 14, 2025
1 parent 8ec86f0 commit 0e3a693
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,12 @@ jobs:
path: ${{ github.workspace }}/.nox/tests-${{ matrix.python }}
key: "nox|${{ matrix.os }}|tests-${{ matrix.python }}|${{ env.PY_CACHE_KEY }}|${{ hashFiles('noxfile.py', 'setup.py', 'pyproject.toml') }}"

- name: Update tools and print info
- name: Install tools and print info
run: |
pip install -U pip setuptools virtualenv
pip list
- name: Install nox
run: pip install nox==2023.4.22
pip install -U pip uv nox
pip --version
uv --version
nox --version
- name: Test
env:
Expand Down
13 changes: 5 additions & 8 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,12 @@ jobs:
path: ${{ github.workspace }}/.nox/lint
key: "nox-lint|${{ matrix.os }}|${{ env.PY_CACHE_KEY }}|${{ hashFiles('noxfile.py', 'setup.py', 'pyproject.toml') }}"

- name: Update pip/setuptools
- name: Install tools
run: |
pip install -U pip setuptools
- name: Install nox
run: pip install nox==2023.4.22

- name: Version information
run: pip list
pip install -U pip uv nox
pip --version
uv --version
nox --version
- name: Lint
run: nox -v -s lint

0 comments on commit 0e3a693

Please sign in to comment.