File tree Expand file tree Collapse file tree 3 files changed +0
-37
lines changed
Expand file tree Collapse file tree 3 files changed +0
-37
lines changed Original file line number Diff line number Diff line change 66 steps :
77 - name : Install uv
88 uses : astral-sh/setup-uv@v3
9- with :
10- enable-cache : true
11- cache-dependency-glob : " uv.lock"
129
1310 - name : " Set up Python"
1411 uses : actions/setup-python@v5
1512 with :
1613 python-version-file : " pyproject.toml"
1714
18- - name : Restore uv cache
19- uses : actions/cache@v4
20- with :
21- path : /tmp/.uv-cache
22- key : uv-${{ runner.os }}-${{ hashFiles('uv.lock') }}
23- restore-keys : |
24- uv-${{ runner.os }}-${{ hashFiles('uv.lock') }}
25- uv-${{ runner.os }}
Original file line number Diff line number Diff line change @@ -25,21 +25,10 @@ jobs:
2525 ref : ${{ github.ref }}
2626 - name : Install uv
2727 uses : astral-sh/setup-uv@v3
28- with :
29- enable-cache : true
30- cache-dependency-glob : " uv.lock"
3128 - name : " Set up Python"
3229 uses : actions/setup-python@v5
3330 with :
3431 python-version-file : " pyproject.toml"
35- - name : Restore uv cache
36- uses : actions/cache@v4
37- with :
38- path : /tmp/.uv-cache
39- key : uv-${{ runner.os }}-${{ hashFiles('uv.lock') }}
40- restore-keys : |
41- uv-${{ runner.os }}-${{ hashFiles('uv.lock') }}
42- uv-${{ runner.os }}
4332 - name : Install the project
4433 run : uv sync --dev
4534 - name : Run ruff format check
4837 run : uv run ruff check
4938 - name : Run mypy
5039 run : uv run mypy .
51- - name : Minimize uv cache
52- run : uv cache prune --ci
Original file line number Diff line number Diff line change @@ -21,21 +21,10 @@ jobs:
2121 ref : ${{ github.ref }}
2222 - name : Install uv
2323 uses : astral-sh/setup-uv@v3
24- with :
25- enable-cache : true
26- cache-dependency-glob : " uv.lock"
2724 - name : " Set up Python"
2825 uses : actions/setup-python@v5
2926 with :
3027 python-version : ${{ matrix.python-version }}
31- - name : Restore uv cache
32- uses : actions/cache@v4
33- with :
34- path : /tmp/.uv-cache
35- key : uv-${{ runner.os }}-${{ hashFiles('uv.lock') }}
36- restore-keys : |
37- uv-${{ runner.os }}-${{ hashFiles('uv.lock') }}
38- uv-${{ runner.os }}
3928 - name : Install the project
4029 run : uv sync --dev
4130 - name : Run unit tests
4433 VECTORIZE_ORG : ${{ secrets.VECTORIZE_ORG }}
4534 VECTORIZE_ENV : dev
4635 run : uv run pytest tests -vv
47- - name : Minimize uv cache
48- run : uv cache prune --ci
You can’t perform that action at this time.
0 commit comments