File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -34,11 +34,17 @@ jobs:
34
34
all:
35
35
- added|modified: '**/*'
36
36
37
- - uses : actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4
38
-
39
37
- uses : astral-sh/setup-uv@884ad927a57e558e7a70b92f2bccf9198a4be546 # v6
40
38
with :
41
39
version : ' 0.8.2'
40
+ # we just cache the venv-dir directly in action-setup-venv
41
+ enable-cache : false
42
+
43
+ - uses : getsentry/action-setup-venv@3a832a9604b3e1a4202ae559248f26867b467cc7 # v2.1.1
44
+ with :
45
+ python-version : 3.11.11
46
+ cache-dependency-path : uv.lock
47
+ install-cmd : echo
42
48
43
49
- uses : actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
44
50
with :
47
53
48
54
- name : Install pre-commit
49
55
run : |
50
- uv export --only-dev --no-hashes --no-annotate --no-header | grep 'pre-commit' | sed -E 's/ ;.*//' | xargs uv pip install
56
+ # todo: rustfmt
51
57
pre-commit install-hooks
52
58
53
59
- name : Run pre-commit
You can’t perform that action at this time.
0 commit comments