File tree Expand file tree Collapse file tree 11 files changed +14
-446
lines changed Expand file tree Collapse file tree 11 files changed +14
-446
lines changed Original file line number Diff line number Diff line change @@ -627,16 +627,8 @@ jobs:
627627 cat ecosystem-result-format-preview >> ecosystem-result
628628 echo "" >> ecosystem-result
629629
630- - name : Export pull request number
631- run : |
632- echo ${{ github.event.number }} > pr-number
633-
634- - uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
635- name : Upload PR Number
636- with :
637- name : pr-number
638- path : pr-number
639-
630+ # NOTE: astral-sh-bot uses this artifact to post comments on PRs.
631+ # Make sure to update the bot if you rename the artifact.
640632 - uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
641633 name : Upload Results
642634 with :
Original file line number Diff line number Diff line change @@ -59,20 +59,15 @@ jobs:
5959 run : |
6060 cd ruff
6161 scripts/mypy_primer.sh
62- echo ${{ github.event.number }} > ../pr-number
6362
63+ # NOTE: astral-sh-bot uses this artifact to post comments on PRs.
64+ # Make sure to update the bot if you rename the artifact.
6465 - name : Upload diff
6566 uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
6667 with :
6768 name : mypy_primer_diff
6869 path : mypy_primer.diff
6970
70- - name : Upload pr-number
71- uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
72- with :
73- name : pr-number
74- path : pr-number
75-
7671 memory_usage :
7772 name : Run memory statistics
7873 runs-on : ${{ github.repository == 'astral-sh/ruff' && 'depot-ubuntu-22.04-32' || 'ubuntu-latest' }}
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 6868 # we specify bash to get pipefail; it guards against the `curl` command
6969 # failing. otherwise `sh` won't catch that `curl` returned non-0
7070 shell : bash
71- run : " curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.30.0 /cargo-dist-installer.sh | sh"
71+ run : " curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.30.2 /cargo-dist-installer.sh | sh"
7272 - name : Cache dist
7373 uses : actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4
7474 with :
@@ -166,8 +166,8 @@ jobs:
166166 - custom-build-binaries
167167 - custom-build-docker
168168 - build-global-artifacts
169- # Only run if we're "publishing", and only if local and global didn't fail (skipped is fine)
170- if : ${{ always() && needs.plan.outputs.publishing == 'true' && (needs.build-global-artifacts.result == 'skipped' || needs.build-global-artifacts.result == 'success') && (needs.custom-build-binaries.result == 'skipped' || needs.custom-build-binaries.result == 'success') && (needs.custom-build-docker.result == 'skipped' || needs.custom-build-docker.result == 'success') }}
169+ # Only run if we're "publishing", and only if plan, local and global didn't fail (skipped is fine)
170+ if : ${{ always() && needs.plan.result == 'success' && needs.plan. outputs.publishing == 'true' && (needs.build-global-artifacts.result == 'skipped' || needs.build-global-artifacts.result == 'success') && (needs.custom-build-binaries.result == 'skipped' || needs.custom-build-binaries.result == 'success') && (needs.custom-build-docker.result == 'skipped' || needs.custom-build-docker.result == 'success') }}
171171 env :
172172 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
173173 runs-on : " depot-ubuntu-latest-4"
Original file line number Diff line number Diff line change @@ -112,8 +112,6 @@ jobs:
112112
113113 cat diff-statistics.md >> "$GITHUB_STEP_SUMMARY"
114114
115- echo ${{ github.event.number }} > pr-number
116-
117115 - name : " Deploy to Cloudflare Pages"
118116 if : ${{ env.CF_API_TOKEN_EXISTS == 'true' }}
119117 id : deploy
@@ -131,18 +129,14 @@ jobs:
131129 echo >> comment.md
132130 echo "**[Full report with detailed diff]($DEPLOYMENT_URL/diff)** ([timing results]($DEPLOYMENT_URL/timing))" >> comment.md
133131
132+ # NOTE: astral-sh-bot uses this artifact to post comments on PRs.
133+ # Make sure to update the bot if you rename the artifact.
134134 - name : Upload comment
135135 uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
136136 with :
137137 name : comment.md
138138 path : comment.md
139139
140- - name : Upload pr-number
141- uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
142- with :
143- name : pr-number
144- path : pr-number
145-
146140 - name : Upload diagnostics diff
147141 uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
148142 with :
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments