chore: switch from poetry to uv
This commit is contained in:
@@ -13,7 +13,8 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: pipx run pre-commit run --all-files
|
||||
- uses: astral-sh/setup-uv@v3
|
||||
- run: uv tool run --from pre-commit@latest --with pre-commit-uv --no-cache --python 3.12 pre-commit run --all-files
|
||||
build:
|
||||
strategy:
|
||||
matrix:
|
||||
@@ -33,14 +34,10 @@ jobs:
|
||||
attestations: write
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: pipx install poetry
|
||||
- uses: actions/setup-python@v5
|
||||
- uses: astral-sh/setup-uv@v3
|
||||
with:
|
||||
python-version: "3.12"
|
||||
cache: poetry
|
||||
check-latest: true
|
||||
- run: poetry install --only=main,nuitka --sync --no-root --extras=non-termux --no-interaction
|
||||
- run: poetry run --no-interaction python -m nuitka --standalone --python-flag='-m' --assume-yes-for-downloads proxy_scraper_checker
|
||||
enable-cache: true
|
||||
- run: uv run --extra non-termux --extra nuitka --no-dev --frozen --python 3.12 nuitka --standalone --python-flag='-m' --assume-yes-for-downloads --lto=yes proxy_scraper_checker
|
||||
- run: mv config.toml proxy_scraper_checker.dist/
|
||||
- uses: actions/attest-build-provenance@v1
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user