8000 Lint with tox-dev/action-pre-commit-uv and test with tox-uv · python/blurb@4dc2e02 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4dc2e02

Browse files
committed
Lint with tox-dev/action-pre-commit-uv and test with tox-uv
1 parent 71e679f commit 4dc2e02

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,4 @@ jobs:
1919
- uses: actions/setup-python@v5
2020
with:
2121
python-version: "3.x"
22-
cache: pip
23-
- uses: pre-commit/action@v3.0.1
22+
- uses: tox-dev/action-pre-commit-uv@v1

.github/workflows/test.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,13 @@ jobs:
2626
with:
2727
python-version: ${{ matrix.python-version }}
2828
allow-prereleases: true
29-
cache: pip
3029

31-
- name: Install dependencies
32-
run: |
33-
python --version
34-
python -m pip install -U pip
35-
python -m pip install -U tox
30+
- name: Install uv
31+
uses: hynek/setup-cached-uv@v2
3632

3733
- name: Tox tests
3834
run: |
39-
tox -e py
35+
uvx --with tox-uv tox -e py
4036
4137
- name: Upload coverage
4238
uses: codecov/codecov-action@v4

0 commit comments

Comments
 (0)
0