File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,26 +19,24 @@ jobs:
1919 run : echo "$GITHUB_CONTEXT"
2020 - uses : actions/checkout@v5
2121 - name : Set up Python
22- uses : actions/setup-python@v5
22+ uses : actions/setup-python@v6
2323 with :
24- python-version : " 3.10 "
24+ python-version-file : " pyproject.toml "
2525 # Issue ref: https://github.com/actions/setup-python/issues/436
2626 # cache: "pip"
2727 # cache-dependency-path: pyproject.toml
28- - name : Install build dependencies
29- run : pip install build
28+ - name : Install uv
29+ uses : astral-sh/setup-uv@v7
3030 - name : Build source distribution
31- run : python -m build --sdist
31+ run : uv build --sdist
3232 - name : Decompress source distribution
3333 run : |
3434 cd dist
3535 tar xvf fastapi_cloud_cli*.tar.gz
3636 - name : Install test dependencies
3737 run : |
3838 cd dist/fastapi_cloud_cli*/
39- pip install -r requirements-tests.txt
40- env :
41- TIANGOLO_BUILD_PACKAGE : ${{ matrix.package }}
39+ pip install --group dev .
4240 - name : Run source distribution tests
4341 run : |
4442 cd dist/fastapi_cloud_cli*/
You can’t perform that action at this time.
0 commit comments