Skip to content

Commit 5587bc4

Browse files
committed
[ty] CI: Faster ecosystem analysis
1 parent cafb96a commit 5587bc4

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.github/workflows/ty-ecosystem-analyzer.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,12 @@ jobs:
6464
6565
cd ..
6666
67-
uv tool install "git+https://github.com/astral-sh/ecosystem-analyzer@279f8a15b0e7f77213bf9096dbc2335a19ef89c5"
67+
uv tool install "git+https://github.com/astral-sh/ecosystem-analyzer@908758da02a73ef3f3308e1dbb2248510029bbe4"
6868
6969
ecosystem-analyzer \
7070
--repository ruff \
7171
diff \
72-
--profile=release \
72+
--profile=profiling \
7373
--projects-old ruff/projects_old.txt \
7474
--projects-new ruff/projects_new.txt \
7575
--old old_commit \

.github/workflows/ty-ecosystem-report.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@ jobs:
4949
5050
cd ..
5151
52-
uv tool install "git+https://github.com/astral-sh/ecosystem-analyzer@279f8a15b0e7f77213bf9096dbc2335a19ef89c5"
52+
uv tool install "git+https://github.com/astral-sh/ecosystem-analyzer@908758da02a73ef3f3308e1dbb2248510029bbe4"
5353
5454
ecosystem-analyzer \
5555
--verbose \
5656
--repository ruff \
5757
analyze \
58-
--profile=release \
58+
--profile=profiling \
5959
--projects ruff/crates/ty_python_semantic/resources/primer/good.txt \
6060
--output ecosystem-diagnostics.json
6161

scripts/mypy_primer.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@ cd ..
2020
echo "Project selector: ${PRIMER_SELECTOR}"
2121
# Allow the exit code to be 0 or 1, only fail for actual mypy_primer crashes/bugs
2222
uvx \
23-
--from="git+https://github.com/hauntsaninja/mypy_primer@1dcfa196e82a25bcc839a44d2a6d17953859f6ed" \
23+
--from="git+https://github.com/hauntsaninja/mypy_primer@ab5d30e2d4ecdaf7d6cc89395c7130143d6d3c82" \
2424
mypy_primer \
2525
--repo ruff \
2626
--type-checker ty \
27+
--cargo-profile profiling \
2728
--old base_commit \
2829
--new "${GITHUB_SHA}" \
2930
--project-selector "/($PRIMER_SELECTOR)\$" \

0 commit comments

Comments
 (0)