Skip to content

Commit

Permalink
Install UV in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkaMaul committed Sep 25, 2024
1 parent d62976a commit d62754b
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
7 changes: 7 additions & 0 deletions {{cookiecutter.project_slug}}/.github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ jobs:
python-version-file: pyproject.toml
cache: "pip"
cache-dependency-path: pyproject.toml

- name: install uv
run: >
curl --no-progress-meter --location --fail
--proto '=https' --tlsv1.2
"https://astral.sh/uv/install.sh"
| sh
- name: setup
run: |
Expand Down
7 changes: 7 additions & 0 deletions {{cookiecutter.project_slug}}/.github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ jobs:
python-version-file: pyproject.toml
cache: "pip"
cache-dependency-path: pyproject.toml

- name: install uv
run: >
curl --no-progress-meter --location --fail
--proto '=https' --tlsv1.2
"https://astral.sh/uv/install.sh"
| sh
- name: lint
run: make lint INSTALL_EXTRA=lint
7 changes: 7 additions & 0 deletions {{cookiecutter.project_slug}}/.github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ jobs:
python-version: ${{ matrix.python }}
cache: "pip"
cache-dependency-path: pyproject.toml

- name: install uv
run: >
curl --no-progress-meter --location --fail
--proto '=https' --tlsv1.2
"https://astral.sh/uv/install.sh"
| sh
- name: test
run: make test INSTALL_EXTRA=test

0 comments on commit d62754b

Please sign in to comment.