@@ -26,19 +26,27 @@ jobs:
2626 uses : actions/setup-python@v5
2727 with :
2828 python-version : ${{ matrix.python-version }}
29+ - name : Rust latest
30+ run : rustup update
31+ - name : Install uv
32+ uses : astral-sh/setup-uv@v5
33+ with :
34+ enable-cache : true
2935 - name : Install Requirements
30- run : |
31- python -m pip install --upgrade pip
32- python -m pip install poetry
33- poetry config virtualenvs.create false --local
34- poetry install --all-extras -vvv
35- - name : ruff format check
36- run : ruff format --check .
37- - name : ruff check
38- run : ruff check --output-format=github .
39- - name : mypy check
40- run : mypy --install-types --non-interactive awswrangler
41- - name : Documentation check
42- run : doc8 --max-line-length 120 docs/source
43- - name : Check poetry.lock consistency with pyproject.toml
44- run : poetry check --lock
36+ run : uv sync --frozen --all-extras --dev --verbose
37+ working-directory : ${{ github.workspace }}
38+ - name : Run ruff format
39+ run : uv run ruff format --check .
40+ working-directory : ${{ github.workspace }}
41+ - name : Run ruff check
42+ run : uv run ruff check --output-format=github .
43+ working-directory : ${{ github.workspace }}
44+ - name : Run mypy check
45+ run : uv run mypy --install-types --non-interactive awswrangler
46+ working-directory : ${{ github.workspace }}
47+ - name : Run documentation check
48+ run : uv run doc8 --max-line-length 120 docs/source
49+ working-directory : ${{ github.workspace }}
50+ - name : Run uv lock check
51+ run : uv lock --check
52+ working-directory : ${{ github.workspace }}
0 commit comments