Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use uv for workflows #160

Open
wants to merge 28 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
try system again
perlinm committed Dec 16, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 502ae87b9507d0a0b403a1ba6b488f3dbddb71b8
12 changes: 5 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -20,16 +20,14 @@ jobs:
timeout-minutes: 1
steps:
- uses: actions/checkout@v4
- name: Activate virtual environment
run: echo PATH=${GITHUB_WORKSPACE}/.venv/bin:$PATH >> $GITHUB_ENV
- name: Set up Python 3.11
- name: Set up Python
uses: astral-sh/setup-uv@v4
with:
enable-cache: true
cache-dependency-glob: "**/pyproject.toml"
- name: Install package and dependencies
run: |
uv pip install '.[dev]'
uv pip install '.[dev]' --system

format:
name: Linting check
@@ -39,7 +37,7 @@ jobs:
needs: install
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
- name: Set up Python
uses: astral-sh/setup-uv@v4
with:
enable-cache: true
@@ -62,7 +60,7 @@ jobs:
needs: install
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
- name: Set up Python
uses: astral-sh/setup-uv@v4
with:
enable-cache: true
@@ -82,7 +80,7 @@ jobs:
needs: install
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
- name: Set up Python
uses: astral-sh/setup-uv@v4
with:
enable-cache: true