File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,10 +25,10 @@ jobs:
2525 # Issue ref: https://github.com/actions/setup-python/issues/436
2626 # cache: "pip"
2727 # cache-dependency-path: pyproject.toml
28- - name : Install uv
29- uses : astral-sh/setup-uv@v7
28+ - name : Install build dependencies
29+ run : pip install build
3030 - name : Build source distribution
31- run : uv build --sdist
31+ run : python -m build --sdist
3232 - name : Decompress source distribution
3333 run : |
3434 cd dist
Original file line number Diff line number Diff line change @@ -67,14 +67,11 @@ jobs:
6767 if : matrix.pydantic-version == 'v1'
6868 run : uv pip install "pydantic<2.0.0"
6969 - name : Lint
70- run : bash scripts/lint.sh
71- env :
72- UV_NO_SYNC : " 1"
70+ run : uv run --no-sync scripts/lint.sh
7371 - run : mkdir coverage
7472 - name : Test
75- run : bash scripts/test.sh
73+ run : uv run --no-sync scripts/test.sh
7674 env :
77- UV_NO_SYNC : " 1"
7875 COVERAGE_FILE : coverage/.coverage.${{ runner.os }}-py${{ matrix.python-version }}
7976 CONTEXT : ${{ runner.os }}-py${{ matrix.python-version }}
8077 - name : Store coverage files
Original file line number Diff line number Diff line change 33set -e
44set -x
55
6- uv run mypy src tests
7- uv run ruff check src tests scripts
8- uv run ruff format src tests --check
6+ mypy src tests
7+ ruff check src tests scripts
8+ ruff format src tests --check
Original file line number Diff line number Diff line change 33set -e
44set -x
55
6- uv run coverage run -m pytest tests ${@ }
6+ coverage run -m pytest tests ${@ }
You can’t perform that action at this time.
0 commit comments