Skip to content

Commit

Permalink
Use uv instead of pdm in verify workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
SRv6d committed Sep 12, 2024
1 parent 9246fee commit 403be0a
Showing 1 changed file with 12 additions and 15 deletions.
27 changes: 12 additions & 15 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,32 +13,29 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pdm-project/setup-pdm@v4
- uses: astral-sh/setup-uv@v2
with:
python-version: ${{ env.PYTHON_VERSION }}
cache: true
- run: pip3 install nox
- run: nox -s lint
enable-cache: true
- run: uv python install ${{ env.PYTHON_VERSION }}
- run: uvx nox -s lint
check-lockfile:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pdm-project/setup-pdm@v4
- uses: astral-sh/setup-uv@v2
with:
python-version: ${{ env.PYTHON_VERSION }}
cache: true
- run: pip3 install nox
- run: nox -s lockfile
enable-cache: true
- run: uv python install ${{ env.PYTHON_VERSION }}
- run: uvx nox -s lockfile
type-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pdm-project/setup-pdm@v4
- uses: astral-sh/setup-uv@v2
with:
python-version: ${{ env.PYTHON_VERSION }}
cache: true
- run: pip3 install nox
- run: nox -s mypy
enable-cache: true
- run: uv python install ${{ env.PYTHON_VERSION }}
- run: uvx nox -s mypy
spellcheck:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 403be0a

Please sign in to comment.