4444 - name : Extract MSRV from Cargo.toml
4545 id : msrv
4646 run : |
47- MSRV=$(scripts/sync-msrv .sh --print)
47+ MSRV=$(scripts/sync-docs .sh --print msrv )
4848 echo "version=$MSRV" >> "$GITHUB_OUTPUT"
4949 echo "MSRV: $MSRV"
5050
@@ -251,8 +251,8 @@ jobs:
251251 # Derive the MSRV in the documentation from Cargo.toml (single source of truth)
252252 # ════════════════════════════════════════════════════════════════════════════
253253
254- sync-msrv :
255- name : Sync MSRV
254+ sync-docs :
255+ name : Sync docs
256256 if : >-
257257 github.event_name != 'pull_request' ||
258258 (!startsWith(github.head_ref, 'release-plz-') && !startsWith(github.head_ref, 'dependabot/'))
@@ -267,7 +267,7 @@ jobs:
267267 run : git fetch origin main && git reset --hard origin/main
268268
269269 - name : Derive the MSRV in the documentation
270- run : scripts/sync-msrv .sh
270+ run : scripts/sync-docs .sh
271271
272272 - name : Commit the documentation
273273 env :
@@ -286,10 +286,10 @@ jobs:
286286 git add -A
287287
288288 if [ "$EVENT" = "pull_request" ]; then
289- git commit -m "chore: sync the MSRV in the documentation "
289+ git commit -m "chore: sync the documentation with the manifest "
290290 git push origin "HEAD:$HEAD_REF"
291291 else
292- git commit -m "chore: sync the MSRV in the documentation [skip ci]"
292+ git commit -m "chore: sync the documentation with the manifest [skip ci]"
293293 git push origin HEAD:main
294294 fi
295295
@@ -496,13 +496,13 @@ jobs:
496496
497497 ci-success :
498498 name : CI Success
499- needs : [check, fmt, docs, no-std, no-std-target, security, reuse, semver, sync-msrv , test]
499+ needs : [check, fmt, docs, no-std, no-std-target, security, reuse, semver, sync-docs , test]
500500 if : always()
501501 runs-on : ubuntu-latest
502502 steps :
503503 - name : Check all jobs
504504 run : |
505- results="${{ needs.check.result }} ${{ needs.fmt.result }} ${{ needs.docs.result }} ${{ needs.no-std.result }} ${{ needs.no-std-target.result }} ${{ needs.security.result }} ${{ needs.reuse.result }} ${{ needs.semver.result }} ${{ needs.sync-msrv .result }} ${{ needs.test.result }}"
505+ results="${{ needs.check.result }} ${{ needs.fmt.result }} ${{ needs.docs.result }} ${{ needs.no-std.result }} ${{ needs.no-std-target.result }} ${{ needs.security.result }} ${{ needs.reuse.result }} ${{ needs.semver.result }} ${{ needs.sync-docs .result }} ${{ needs.test.result }}"
506506
507507 for r in $results; do
508508 if [[ "$r" != "success" ]]; then
0 commit comments