File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 24
24
- name : Install pre-commit
25
25
run : uv sync --group lint
26
26
27
+ - uses : actions/cache@v4
28
+ with :
29
+ path : .mypy_cache
30
+ key : ${{ runner.os }}-mypy-${{ hashFiles('pyproject.toml') }}
31
+ restore-keys : |
32
+ ${{ runner.os }}-mypy-
33
+
34
+ - uses : actions/cache@v4
35
+ with :
36
+ path : ~/.cache/pre-commit
37
+ key : ${{ runner.os }}-pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
38
+ restore-keys : |
39
+ ${{ runner.os }}-pre-commit-
40
+
27
41
- name : pre-commit
28
42
run : uv run pre-commit run --all-files --verbose
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ cd "$(dirname "$0")/.."
8
8
9
9
# Install the dependencies into the mypy env.
10
10
# Note that this can take seconds to run.
11
- python -m pip install -e ' .[all,a2a,any_llm]' --quiet
11
+ python -m pip install -U - e ' .[all,a2a,any_llm]' --quiet
12
12
13
13
# Run on all files.
14
14
python -m mypy src/
You can’t perform that action at this time.
0 commit comments