diff --git a/.github/workflows/actions.lock b/.github/workflows/actions.lock index 30896236..91ecf949 100644 --- a/.github/workflows/actions.lock +++ b/.github/workflows/actions.lock @@ -61,6 +61,7 @@ workflows: - 'step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a' '.github/workflows/repo-integrity-guard.yml': - 'actions/checkout@v7.0.1' + '.github/workflows/rust-proven.yml': [] '.github/workflows/rust.yml': - 'actions/checkout@v7.0.1' '.github/workflows/scorecard.yml': [] diff --git a/.github/workflows/rust-proven.yml b/.github/workflows/rust-proven.yml new file mode 100644 index 00000000..7b564961 --- /dev/null +++ b/.github/workflows/rust-proven.yml @@ -0,0 +1,98 @@ +# SPDX-License-Identifier: MPL-2.0 +# This workflow is managed by gh actions-lock. +name: Rust (proven) + +# Proven reusable Rust gate (hyperpolymath/proven-cicd-and-workflows +# rust-ci.yml), one caller per crate. It is stricter than the `rust` matrix in +# rust.yml: warnings denied on every compile, doctests, `cargo doc` with broken +# links failing, MSRV when declared, and cargo-deny (advisories, bans, +# sources). Contexts are `rust-ci () / `; branch rules require +# `rust-ci () / Rust CI verdict` directly. +# +# This file holds only job-level reusable calls, like secret-scanner.yml and +# scorecard.yml: a workflow mixing native step pins with a job-level remote +# reusable fails Scorecard's native action-lock reconciliation. +# +# The `rust` matrix in rust.yml stays until branch rules require these contexts +# instead of `build · test · clippy ()`; a follow-up then removes it (and +# moves rhodibot's canon pin drift step to its own job). +# +# Pinned at one full SHA and de-onboarded from actions.lock (an onboarded +# cross-repo reusable startup-fails with zero jobs); the pin is recorded in +# scripts/lib/pinned-reusable-sources.json and lock-closure-receipts.tsv. +# `contents: read` is the whole grant the callee declares; no secrets. + +on: + push: + branches: [main] + pull_request: + branches: ['**'] + # Manual run: a startup_failure cannot be re-run, and settings fixes + # (for example the Actions allowlist) need a fresh run to be witnessed. + workflow_dispatch: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +permissions: + contents: read + +jobs: + rust-ci-robot-repo-automaton: + name: rust-ci (robot-repo-automaton) + permissions: + contents: read + uses: hyperpolymath/proven-cicd-and-workflows/.github/workflows/rust-ci.yml@50a443f01b1b85e4957b893a6f1a0ed2e8a52459 + with: + working_directory: robot-repo-automaton + + rust-ci-shared-context: + name: rust-ci (shared-context) + permissions: + contents: read + uses: hyperpolymath/proven-cicd-and-workflows/.github/workflows/rust-ci.yml@50a443f01b1b85e4957b893a6f1a0ed2e8a52459 + with: + working_directory: shared-context + + rust-ci-dashboard: + name: rust-ci (dashboard) + permissions: + contents: read + uses: hyperpolymath/proven-cicd-and-workflows/.github/workflows/rust-ci.yml@50a443f01b1b85e4957b893a6f1a0ed2e8a52459 + with: + working_directory: dashboard + # Binary-only crate: `cargo test --doc` has no library to test. + doctests: false + + rust-ci-rhodibot: + name: rust-ci (rhodibot) + permissions: + contents: read + uses: hyperpolymath/proven-cicd-and-workflows/.github/workflows/rust-ci.yml@50a443f01b1b85e4957b893a6f1a0ed2e8a52459 + with: + working_directory: bots/rhodibot + + rust-ci-panicbot: + name: rust-ci (panicbot) + permissions: + contents: read + uses: hyperpolymath/proven-cicd-and-workflows/.github/workflows/rust-ci.yml@50a443f01b1b85e4957b893a6f1a0ed2e8a52459 + with: + working_directory: bots/panicbot + + rust-ci-ponsbot: + name: rust-ci (ponsbot) + permissions: + contents: read + uses: hyperpolymath/proven-cicd-and-workflows/.github/workflows/rust-ci.yml@50a443f01b1b85e4957b893a6f1a0ed2e8a52459 + with: + working_directory: bots/ponsbot + + rust-ci-idris-dependents: + name: rust-ci (idris-dependents) + permissions: + contents: read + uses: hyperpolymath/proven-cicd-and-workflows/.github/workflows/rust-ci.yml@50a443f01b1b85e4957b893a6f1a0ed2e8a52459 + with: + working_directory: idris-dependents diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 296f8cb3..652b2423 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -26,7 +26,10 @@ jobs: runs-on: ubuntu-24.04 timeout-minutes: 5 permissions: {} - needs: [rust, dispatch-contracts, gsbot] + needs: + - rust + - dispatch-contracts + - gsbot if: always() steps: - name: Require every CI job to succeed diff --git a/bots/panicbot/Cargo.lock b/bots/panicbot/Cargo.lock index c57159cc..ea264fe0 100644 --- a/bots/panicbot/Cargo.lock +++ b/bots/panicbot/Cargo.lock @@ -56,7 +56,7 @@ version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc" dependencies = [ - "windows-sys 0.61.2", + "windows-sys 0.60.2", ] [[package]] @@ -67,7 +67,7 @@ checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d" dependencies = [ "anstyle", "once_cell_polyfill", - "windows-sys 0.61.2", + "windows-sys 0.60.2", ] [[package]] @@ -197,7 +197,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ "libc", - "windows-sys 0.61.2", + "windows-sys 0.60.2", ] [[package]] @@ -476,9 +476,9 @@ dependencies = [ [[package]] name = "libz-sys" -version = "1.1.28" +version = "1.1.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc3a226e576f50782b3305c5ccf458698f92798987f551c6a02efe8276721e22" +checksum = "fee3f59f4321dab0c78d828942e7aa09d0bd8ad6e78a501977e6bf3d02938045" dependencies = [ "cc", "libc", @@ -558,7 +558,7 @@ version = "0.50.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5" dependencies = [ - "windows-sys 0.61.2", + "windows-sys 0.60.2", ] [[package]] @@ -671,15 +671,15 @@ checksum = "dc897dd8d9e8bd1ed8cdad82b5966c3e0ecae09fb1907d58efaa013543185d0a" [[package]] name = "rustix" -version = "1.1.4" +version = "1.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6fe4565b9518b83ef4f91bb47ce29620ca828bd32cb7e408f0062e9930ba190" +checksum = "e5e76742e5294153d4dde1207dbec5bdd81eef6fabdc0d2118babadabfd858aa" dependencies = [ "bitflags 2.11.0", "errno", "libc", "linux-raw-sys", - "windows-sys 0.61.2", + "windows-sys 0.60.2", ] [[package]] @@ -820,7 +820,7 @@ dependencies = [ "getrandom 0.4.2", "once_cell", "rustix", - "windows-sys 0.61.2", + "windows-sys 0.60.2", ] [[package]] @@ -1122,7 +1122,7 @@ version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" dependencies = [ - "windows-sys 0.61.2", + "windows-sys 0.60.2", ] [[package]] diff --git a/bots/panicbot/src/cli.rs b/bots/panicbot/src/cli.rs index 822b8f3c..2b5668cb 100644 --- a/bots/panicbot/src/cli.rs +++ b/bots/panicbot/src/cli.rs @@ -90,7 +90,7 @@ pub enum Command { #[arg(default_value = ".")] dir: PathBuf, - /// Output file path. Default: /.panicbot/PANICBOT-FINDINGS.a2ml. + /// Output file path. Default: `/.panicbot/PANICBOT-FINDINGS.a2ml`. #[arg(short, long)] output: Option, }, diff --git a/bots/panicbot/src/translator.rs b/bots/panicbot/src/translator.rs index c18735a8..e73dfd77 100644 --- a/bots/panicbot/src/translator.rs +++ b/bots/panicbot/src/translator.rs @@ -301,7 +301,7 @@ fn map_severity(panic_attack_severity: &str) -> Severity { } } -/// Parse a panic-attack location string ("src/lib.rs:42") into (PathBuf, Option). +/// Parse a panic-attack location string ("src/lib.rs:42") into `(PathBuf, Option)`. fn parse_location(location: &str) -> (PathBuf, Option) { // Format: "path/to/file.rs:line" or just "path/to/file.rs" if let Some(colon_pos) = location.rfind(':') { diff --git a/bots/rhodibot/Cargo.lock b/bots/rhodibot/Cargo.lock index e220d9a0..484293c8 100644 --- a/bots/rhodibot/Cargo.lock +++ b/bots/rhodibot/Cargo.lock @@ -62,7 +62,7 @@ version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc" dependencies = [ - "windows-sys 0.61.2", + "windows-sys 0.60.2", ] [[package]] @@ -73,7 +73,7 @@ checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d" dependencies = [ "anstyle", "once_cell_polyfill", - "windows-sys 0.61.2", + "windows-sys 0.60.2", ] [[package]] @@ -421,9 +421,9 @@ dependencies = [ [[package]] name = "ctutils" -version = "0.4.2" +version = "0.4.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d5515a3834141de9eafb9717ad39eea8247b5674e6066c404e8c4b365d2a29e" +checksum = "261af4dc7a06ea8a527a8717d8cbba3417530d6ea14e1edb3de6b67806be474f" dependencies = [ "cmov", ] @@ -527,7 +527,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ "libc", - "windows-sys 0.61.2", + "windows-sys 0.52.0", ] [[package]] @@ -582,9 +582,9 @@ checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb" [[package]] name = "form_urlencoded" -version = "1.2.2" +version = "1.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" +checksum = "afa489199eaffb1211795df1c6236ce1ad0d41a6fa45250add73e3b02420f06e" dependencies = [ "percent-encoding", ] @@ -1572,9 +1572,9 @@ checksum = "e4eba85ea1d0a966a983acd07deee566e67395d2d96b6fb39e62b5a833f1eb0b" [[package]] name = "h2" -version = "0.4.13" +version = "0.4.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f44da3a8150a6703ed5d34e164b875fd14c2cdab9af1252a9a1020bde2bdc54" +checksum = "b634322c4924093fe6a6e05ecbe5717cd3c6014934455f4ae8e5cf14ba3264a8" dependencies = [ "atomic-waker", "bytes", @@ -2106,9 +2106,9 @@ dependencies = [ [[package]] name = "libz-sys" -version = "1.1.28" +version = "1.1.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc3a226e576f50782b3305c5ccf458698f92798987f551c6a02efe8276721e22" +checksum = "fee3f59f4321dab0c78d828942e7aa09d0bd8ad6e78a501977e6bf3d02938045" dependencies = [ "cc", "libc", @@ -2252,7 +2252,7 @@ version = "0.50.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5" dependencies = [ - "windows-sys 0.61.2", + "windows-sys 0.60.2", ] [[package]] @@ -2619,7 +2619,7 @@ dependencies = [ "errno", "libc", "linux-raw-sys", - "windows-sys 0.61.2", + "windows-sys 0.52.0", ] [[package]] @@ -2648,9 +2648,9 @@ dependencies = [ [[package]] name = "rustls-webpki" -version = "0.103.15" +version = "0.103.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3c3cf1d8b1e7d4927e2d154c3fcb02979afb9939629c62cd9048d4f07b60ac2" +checksum = "e3a0760a887c14823fca5a1c970b01d47c328c696c0c64829d1df50e8f853fd5" dependencies = [ "ring", "rustls-pki-types", @@ -2841,7 +2841,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3a766e1110788c36f4fa1c2b71b387a7815aa65f88ce0229841826633d93723e" dependencies = [ "libc", - "windows-sys 0.61.2", + "windows-sys 0.60.2", ] [[package]] @@ -2911,10 +2911,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd" dependencies = [ "fastrand", - "getrandom 0.3.4", + "getrandom 0.4.2", "once_cell", "rustix", - "windows-sys 0.61.2", + "windows-sys 0.52.0", ] [[package]] @@ -3268,9 +3268,9 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" [[package]] name = "url" -version = "2.5.8" +version = "2.5.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed" +checksum = "f00cd2407bb42c0ef17be88d4cf020f5cceffd121665bac9b8b9493a369b3b1a" dependencies = [ "form_urlencoded", "idna", @@ -3474,9 +3474,9 @@ dependencies = [ [[package]] name = "webpki-roots" -version = "1.0.7" +version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52f5ee44c96cf55f1b349600768e3ece3a8f26010c05265ab73f945bb1a2eb9d" +checksum = "7265c9301c16a8711c992c2d8da90ee77ef54b1ed51482d6dfeb00dc756b1297" dependencies = [ "rustls-pki-types", ] @@ -3487,7 +3487,7 @@ version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" dependencies = [ - "windows-sys 0.61.2", + "windows-sys 0.52.0", ] [[package]] diff --git a/bots/rhodibot/src/canon/report.rs b/bots/rhodibot/src/canon/report.rs index 23276a5d..9a8f282c 100644 --- a/bots/rhodibot/src/canon/report.rs +++ b/bots/rhodibot/src/canon/report.rs @@ -211,7 +211,7 @@ impl CanonReport { ) } - /// Check one repository against the canon, as overlaid by [`overlay`]. + /// Check one repository against the canon, as overlaid by [`overlay`](super::overlay). /// /// The profile comes from the chora deed's `(rsr-profile ...)` clause; a /// legacy `rsr-profile.a2ml` is read only when the deed has none. No diff --git a/dashboard/Cargo.lock b/dashboard/Cargo.lock index dc7b9bad..5de5fea0 100644 --- a/dashboard/Cargo.lock +++ b/dashboard/Cargo.lock @@ -232,7 +232,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ "libc", - "windows-sys 0.61.2", + "windows-sys 0.60.2", ] [[package]] @@ -673,9 +673,9 @@ dependencies = [ [[package]] name = "libz-sys" -version = "1.1.28" +version = "1.1.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc3a226e576f50782b3305c5ccf458698f92798987f551c6a02efe8276721e22" +checksum = "fee3f59f4321dab0c78d828942e7aa09d0bd8ad6e78a501977e6bf3d02938045" dependencies = [ "cc", "libc", @@ -780,7 +780,7 @@ version = "0.50.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5" dependencies = [ - "windows-sys 0.61.2", + "windows-sys 0.60.2", ] [[package]] @@ -1107,7 +1107,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3a766e1110788c36f4fa1c2b71b387a7815aa65f88ce0229841826633d93723e" dependencies = [ "libc", - "windows-sys 0.61.2", + "windows-sys 0.60.2", ] [[package]] @@ -1178,9 +1178,9 @@ dependencies = [ [[package]] name = "tokio" -version = "1.53.1" +version = "1.53.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "202caea871b69668250d242070849eb495be178ed697a3e98aebce5bc81a0bed" +checksum = "ce3335fa71841cda333a58d7615b03901380ecf09d59b3296d21f8bbac0dde4e" dependencies = [ "bytes", "libc", @@ -1591,7 +1591,7 @@ version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" dependencies = [ - "windows-sys 0.61.2", + "windows-sys 0.60.2", ] [[package]] diff --git a/docs/migrations/secret-scanner-cicd-suite/fixtures/SHA256SUMS b/docs/migrations/secret-scanner-cicd-suite/fixtures/SHA256SUMS index 491d50a3..e77111f6 100644 --- a/docs/migrations/secret-scanner-cicd-suite/fixtures/SHA256SUMS +++ b/docs/migrations/secret-scanner-cicd-suite/fixtures/SHA256SUMS @@ -1,3 +1,3 @@ 4745e9318346b1a3eae2e0bf65c6732f73d2ead78ef29de9e20659a71f8057d8 cicd-suite-4404c3c0474e17753fe7689f3485c02890aac113-secret-scanner-reusable.yml cba6cd207cb474563a7bc53bf31c72eaf1c42b4dcd3451d2cce0d8581949b5e8 historical-source.json -bc601a927657f973d96f228590d667bad93b73d9b42d132419d98ca792b6f5c8 restore-historical-source.sh +41d86a854169edde3c99bdf9c8d1b1dd9d00191c8d2203395dc5873b0f9e79d7 restore-historical-source.sh diff --git a/docs/migrations/secret-scanner-cicd-suite/fixtures/restore-historical-source.sh b/docs/migrations/secret-scanner-cicd-suite/fixtures/restore-historical-source.sh index 2bfaa2ae..19408a14 100644 --- a/docs/migrations/secret-scanner-cicd-suite/fixtures/restore-historical-source.sh +++ b/docs/migrations/secret-scanner-cicd-suite/fixtures/restore-historical-source.sh @@ -30,7 +30,9 @@ jq --slurpfile prior "$fixture" ' ' "$manifest" > "$manifest.tmp" mv "$manifest.tmp" "$manifest" # The archived proposal has its own source receipt; keep unrelated receipts. -awk '$0 !~ /^# Reviewed source: hyperpolymath\/proven-cicd-and-workflows\// && $0 !~ /^hyperpolymath\/proven-cicd-and-workflows\t/' "$receipts" > "$receipts.tmp" +# Only the 1fd5e63 scanner source is replaced; later proven-cicd sources +# (for example rust-ci.yml) keep their own receipt rows. +awk '$0 !~ /^# Reviewed source: hyperpolymath\/proven-cicd-and-workflows\/.*@1fd5e6371a50f0fc3687206a5adca0cdf7b39aa6$/ && $0 !~ /^hyperpolymath\/proven-cicd-and-workflows\t1fd5e6371a50f0fc3687206a5adca0cdf7b39aa6\t/' "$receipts" > "$receipts.tmp" printf '%s\n' '# Reviewed historical cicd-suite scanner source' >> "$receipts.tmp" printf 'hyperpolymath/cicd-suite\t4404c3c0474e17753fe7689f3485c02890aac113\tactions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1\n' >> "$receipts.tmp" mv "$receipts.tmp" "$receipts" diff --git a/idris-dependents/Cargo.lock b/idris-dependents/Cargo.lock index 3e96b6e8..6ab0987e 100644 --- a/idris-dependents/Cargo.lock +++ b/idris-dependents/Cargo.lock @@ -284,9 +284,9 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "form_urlencoded" -version = "1.2.2" +version = "1.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" +checksum = "afa489199eaffb1211795df1c6236ce1ad0d41a6fa45250add73e3b02420f06e" dependencies = [ "percent-encoding", ] @@ -1365,9 +1365,9 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" [[package]] name = "url" -version = "2.5.8" +version = "2.5.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed" +checksum = "f00cd2407bb42c0ef17be88d4cf020f5cceffd121665bac9b8b9493a369b3b1a" dependencies = [ "form_urlencoded", "idna", diff --git a/robot-repo-automaton/Cargo.lock b/robot-repo-automaton/Cargo.lock index a3786e63..02550225 100644 --- a/robot-repo-automaton/Cargo.lock +++ b/robot-repo-automaton/Cargo.lock @@ -62,7 +62,7 @@ version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc" dependencies = [ - "windows-sys 0.61.2", + "windows-sys 0.60.2", ] [[package]] @@ -73,7 +73,7 @@ checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d" dependencies = [ "anstyle", "once_cell_polyfill", - "windows-sys 0.61.2", + "windows-sys 0.60.2", ] [[package]] @@ -121,9 +121,9 @@ checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" [[package]] name = "aws-lc-rs" -version = "1.16.2" +version = "1.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a054912289d18629dc78375ba2c3726a3afe3ff71b4edba9dedfca0e3446d1fc" +checksum = "048006790404103c488e6c5616b3e7e702a71292aadda08e8f7698a9e0d2eb53" dependencies = [ "aws-lc-sys", "zeroize", @@ -131,14 +131,15 @@ dependencies = [ [[package]] name = "aws-lc-sys" -version = "0.39.1" +version = "0.47.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83a25cf98105baa966497416dbd42565ce3a8cf8dbfd59803ec9ad46f3126399" +checksum = "8bfbe32ac36b3c428696ce315464181bc4029d689fd58e3f2a4e58c252242f52" dependencies = [ "cc", "cmake", "dunce", "fs_extra", + "pkg-config", ] [[package]] @@ -543,7 +544,7 @@ dependencies = [ "libc", "option-ext", "redox_users", - "windows-sys 0.61.2", + "windows-sys 0.60.2", ] [[package]] @@ -585,7 +586,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ "libc", - "windows-sys 0.61.2", + "windows-sys 0.52.0", ] [[package]] @@ -640,9 +641,9 @@ checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb" [[package]] name = "form_urlencoded" -version = "1.2.2" +version = "1.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" +checksum = "afa489199eaffb1211795df1c6236ce1ad0d41a6fa45250add73e3b02420f06e" dependencies = [ "percent-encoding", ] @@ -2397,9 +2398,9 @@ dependencies = [ [[package]] name = "libz-sys" -version = "1.1.25" +version = "1.1.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d52f4c29e2a68ac30c9087e1b772dc9f44a2b66ed44edf2266cf2be9b03dafc1" +checksum = "fee3f59f4321dab0c78d828942e7aa09d0bd8ad6e78a501977e6bf3d02938045" dependencies = [ "cc", "libc", @@ -2527,7 +2528,7 @@ version = "0.50.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5" dependencies = [ - "windows-sys 0.61.2", + "windows-sys 0.60.2", ] [[package]] @@ -2980,22 +2981,22 @@ checksum = "94300abf3f1ae2e2b8ffb7b58043de3d399c73fa6f4b73826402a5c457614dbe" [[package]] name = "rustix" -version = "1.1.4" +version = "1.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6fe4565b9518b83ef4f91bb47ce29620ca828bd32cb7e408f0062e9930ba190" +checksum = "e5e76742e5294153d4dde1207dbec5bdd81eef6fabdc0d2118babadabfd858aa" dependencies = [ "bitflags 2.11.0", "errno", "libc", "linux-raw-sys", - "windows-sys 0.61.2", + "windows-sys 0.52.0", ] [[package]] name = "rustls" -version = "0.23.43" +version = "0.23.46" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0283386ce02abc0151e1761d08802dfe86c173b0b494af5cbc086574e453da06" +checksum = "48e13bd8c0e9365c43cfa5c9e8f9ad49d3c8444926c9aac819e0e4dc503c8fdf" dependencies = [ "aws-lc-rs", "once_cell", @@ -3046,7 +3047,7 @@ dependencies = [ "security-framework", "security-framework-sys", "webpki-root-certs", - "windows-sys 0.61.2", + "windows-sys 0.52.0", ] [[package]] @@ -3057,9 +3058,9 @@ checksum = "f87165f0995f63a9fbeea62b64d10b4d9d8e78ec6d7d51fb2125fda7bb36788f" [[package]] name = "rustls-webpki" -version = "0.103.13" +version = "0.103.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61c429a8649f110dddef65e2a5ad240f747e85f7758a6bccc7e5777bd33f756e" +checksum = "e3a0760a887c14823fca5a1c970b01d47c328c696c0c64829d1df50e8f853fd5" dependencies = [ "aws-lc-rs", "ring", @@ -3305,7 +3306,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3a766e1110788c36f4fa1c2b71b387a7815aa65f88ce0229841826633d93723e" dependencies = [ "libc", - "windows-sys 0.61.2", + "windows-sys 0.60.2", ] [[package]] @@ -3378,7 +3379,7 @@ dependencies = [ "getrandom 0.4.2", "once_cell", "rustix", - "windows-sys 0.61.2", + "windows-sys 0.52.0", ] [[package]] @@ -3767,9 +3768,9 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" [[package]] name = "url" -version = "2.5.8" +version = "2.5.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed" +checksum = "f00cd2407bb42c0ef17be88d4cf020f5cceffd121665bac9b8b9493a369b3b1a" dependencies = [ "form_urlencoded", "idna", @@ -3973,18 +3974,18 @@ dependencies = [ [[package]] name = "webpki-root-certs" -version = "1.0.6" +version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "804f18a4ac2676ffb4e8b5b5fa9ae38af06df08162314f96a68d2a363e21a8ca" +checksum = "293198dcebfb821155b5092ab94b5a82ff180eddd7241df3bd6e66a4ffd1a585" dependencies = [ "rustls-pki-types", ] [[package]] name = "webpki-roots" -version = "1.0.6" +version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22cfaf3c063993ff62e73cb4311efde4db1efb31ab78a3e5c457939ad5cc0bed" +checksum = "7265c9301c16a8711c992c2d8da90ee77ef54b1ed51482d6dfeb00dc756b1297" dependencies = [ "rustls-pki-types", ] @@ -4011,7 +4012,7 @@ version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" dependencies = [ - "windows-sys 0.61.2", + "windows-sys 0.52.0", ] [[package]] diff --git a/robot-repo-automaton/src/registry_guard.rs b/robot-repo-automaton/src/registry_guard.rs index 9898c8ee..bbdb23b2 100644 --- a/robot-repo-automaton/src/registry_guard.rs +++ b/robot-repo-automaton/src/registry_guard.rs @@ -135,9 +135,11 @@ fn repo_identity(repo_path: &Path) -> (Option, Option) { /// Parse `owner/repo` out of a common git URL shape. /// -/// git@github.com:owner/repo.git → owner/repo -/// https://github.com/owner/repo.git → owner/repo -/// ssh://git@github.com/owner/repo → owner/repo +/// ```text +/// git@github.com:owner/repo.git → owner/repo +/// https://github.com/owner/repo.git → owner/repo +/// ssh://git@github.com/owner/repo → owner/repo +/// ``` fn parse_full_name(url: &str) -> Option { let s = url.strip_suffix(".git").unwrap_or(url); diff --git a/scripts/lib/lock-closure-receipts.tsv b/scripts/lib/lock-closure-receipts.tsv index 8dbada15..1714c623 100644 --- a/scripts/lib/lock-closure-receipts.tsv +++ b/scripts/lib/lock-closure-receipts.tsv @@ -76,5 +76,13 @@ metadatastician/standards ea2f4d8a886585ed442687ae63d4ad7493379ba4 oven-sh/setup # Reviewed source: hyperpolymath/proven-cicd-and-workflows/.github/workflows/secret-scanner-reusable.yml@1fd5e6371a50f0fc3687206a5adca0cdf7b39aa6 hyperpolymath/proven-cicd-and-workflows 1fd5e6371a50f0fc3687206a5adca0cdf7b39aa6 actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 +# Reviewed source: hyperpolymath/proven-cicd-and-workflows/.github/workflows/rust-ci.yml@50a443f01b1b85e4957b893a6f1a0ed2e8a52459 +# Exact Git blob: 21907736e02b2dde87041447f953fc92217cddda; emitted with --emit-receipt. +hyperpolymath/proven-cicd-and-workflows 50a443f01b1b85e4957b893a6f1a0ed2e8a52459 actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 +hyperpolymath/proven-cicd-and-workflows 50a443f01b1b85e4957b893a6f1a0ed2e8a52459 dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8 +hyperpolymath/proven-cicd-and-workflows 50a443f01b1b85e4957b893a6f1a0ed2e8a52459 goto-bus-stop/setup-zig@abea47f85e598557f500fa1fd2ab7464fcb39406 +hyperpolymath/proven-cicd-and-workflows 50a443f01b1b85e4957b893a6f1a0ed2e8a52459 swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 +hyperpolymath/proven-cicd-and-workflows 50a443f01b1b85e4957b893a6f1a0ed2e8a52459 taiki-e/install-action@ab49d3c64680143e184118bed66a46419fc15519 + # Reviewed source: hyperpolymath/hypatia/.github/workflows/credential-read-check.yml@f2c0604880f615bec5edda7aaefc8feac3d04cc5 hyperpolymath/hypatia f2c0604880f615bec5edda7aaefc8feac3d04cc5 step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a diff --git a/scripts/lib/pinned-reusable-sources.json b/scripts/lib/pinned-reusable-sources.json index 91936eac..0c24e39d 100644 --- a/scripts/lib/pinned-reusable-sources.json +++ b/scripts/lib/pinned-reusable-sources.json @@ -752,6 +752,194 @@ "ref": "step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a" } ] + }, + { + "repository": "hyperpolymath/proven-cicd-and-workflows", + "commit": "50a443f01b1b85e4957b893a6f1a0ed2e8a52459", + "path": ".github/workflows/rust-ci.yml", + "blob": "21907736e02b2dde87041447f953fc92217cddda", + "content_sha256": "204edafe2891b98da5fab9659c3a8f8f94a44e27d2ad34d09b8bbbeb6afd56ce", + "role": "active", + "callers": [ + { + "workflow": ".github/workflows/rust-proven.yml", + "job": "rust-ci-robot-repo-automaton", + "line": 46 + }, + { + "workflow": ".github/workflows/rust-proven.yml", + "job": "rust-ci-shared-context", + "line": 54 + }, + { + "workflow": ".github/workflows/rust-proven.yml", + "job": "rust-ci-dashboard", + "line": 62 + }, + { + "workflow": ".github/workflows/rust-proven.yml", + "job": "rust-ci-rhodibot", + "line": 72 + }, + { + "workflow": ".github/workflows/rust-proven.yml", + "job": "rust-ci-panicbot", + "line": 80 + }, + { + "workflow": ".github/workflows/rust-proven.yml", + "job": "rust-ci-ponsbot", + "line": 88 + }, + { + "workflow": ".github/workflows/rust-proven.yml", + "job": "rust-ci-idris-dependents", + "line": 96 + } + ], + "uses": [ + { + "kind": "step", + "ref": "actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1", + "line": 209 + }, + { + "kind": "step", + "ref": "actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1", + "line": 257 + }, + { + "kind": "step", + "ref": "actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1", + "line": 285 + }, + { + "kind": "step", + "ref": "actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1", + "line": 333 + }, + { + "kind": "step", + "ref": "dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8", + "line": 349 + }, + { + "kind": "step", + "ref": "goto-bus-stop/setup-zig@abea47f85e598557f500fa1fd2ab7464fcb39406", + "line": 355 + }, + { + "kind": "step", + "ref": "swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0", + "line": 364 + }, + { + "kind": "step", + "ref": "actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1", + "line": 386 + }, + { + "kind": "step", + "ref": "actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1", + "line": 434 + }, + { + "kind": "step", + "ref": "dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8", + "line": 446 + }, + { + "kind": "step", + "ref": "goto-bus-stop/setup-zig@abea47f85e598557f500fa1fd2ab7464fcb39406", + "line": 451 + }, + { + "kind": "step", + "ref": "swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0", + "line": 460 + }, + { + "kind": "step", + "ref": "actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1", + "line": 483 + }, + { + "kind": "step", + "ref": "actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1", + "line": 531 + }, + { + "kind": "step", + "ref": "dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8", + "line": 543 + }, + { + "kind": "step", + "ref": "goto-bus-stop/setup-zig@abea47f85e598557f500fa1fd2ab7464fcb39406", + "line": 548 + }, + { + "kind": "step", + "ref": "swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0", + "line": 557 + }, + { + "kind": "step", + "ref": "actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1", + "line": 578 + }, + { + "kind": "step", + "ref": "actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1", + "line": 626 + }, + { + "kind": "step", + "ref": "dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8", + "line": 638 + }, + { + "kind": "step", + "ref": "goto-bus-stop/setup-zig@abea47f85e598557f500fa1fd2ab7464fcb39406", + "line": 643 + }, + { + "kind": "step", + "ref": "swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0", + "line": 652 + }, + { + "kind": "step", + "ref": "actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1", + "line": 675 + }, + { + "kind": "step", + "ref": "taiki-e/install-action@ab49d3c64680143e184118bed66a46419fc15519", + "line": 690 + }, + { + "kind": "step", + "ref": "actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1", + "line": 734 + }, + { + "kind": "step", + "ref": "dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8", + "line": 738 + }, + { + "kind": "step", + "ref": "goto-bus-stop/setup-zig@abea47f85e598557f500fa1fd2ab7464fcb39406", + "line": 744 + }, + { + "kind": "step", + "ref": "taiki-e/install-action@ab49d3c64680143e184118bed66a46419fc15519", + "line": 761 + } + ], + "source_url": "https://github.com/hyperpolymath/proven-cicd-and-workflows/blob/50a443f01b1b85e4957b893a6f1a0ed2e8a52459/.github/workflows/rust-ci.yml" } ], "dependencies": { @@ -883,6 +1071,34 @@ "owner_id": 67707773, "repo_id": 421101922, "uses": [] + }, + "hyperpolymath/proven-cicd-and-workflows@50a443f01b1b85e4957b893a6f1a0ed2e8a52459": { + "ref": "50a443f01b1b85e4957b893a6f1a0ed2e8a52459", + "commit": "sha1-50a443f01b1b85e4957b893a6f1a0ed2e8a52459", + "owner_id": 6759885, + "repo_id": 1326697643, + "uses": [ + "actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1", + "dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8", + "goto-bus-stop/setup-zig@abea47f85e598557f500fa1fd2ab7464fcb39406", + "swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0", + "taiki-e/install-action@ab49d3c64680143e184118bed66a46419fc15519" + ] + }, + "goto-bus-stop/setup-zig@abea47f85e598557f500fa1fd2ab7464fcb39406": { + "ref": "v2.2.1", + "commit": "sha1-abea47f85e598557f500fa1fd2ab7464fcb39406", + "uses": [] + }, + "swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0": { + "ref": "v2.9.3", + "commit": "sha1-d1527c8f67ef9af357290475d4af4b0fab8f12e0", + "uses": [] + }, + "taiki-e/install-action@ab49d3c64680143e184118bed66a46419fc15519": { + "ref": "v2.90.5", + "commit": "sha1-ab49d3c64680143e184118bed66a46419fc15519", + "uses": [] } } } diff --git a/shared-context/Cargo.lock b/shared-context/Cargo.lock index 10d832de..47577d9f 100644 --- a/shared-context/Cargo.lock +++ b/shared-context/Cargo.lock @@ -214,9 +214,9 @@ dependencies = [ [[package]] name = "crossbeam-epoch" -version = "0.9.18" +version = "0.9.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" +checksum = "dc74980687109a3b14c72fd458107bf0baa1da1a1a805e178d15501ba9b86d9d" dependencies = [ "crossbeam-utils", ] @@ -548,9 +548,9 @@ dependencies = [ [[package]] name = "libz-sys" -version = "1.1.28" +version = "1.1.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc3a226e576f50782b3305c5ccf458698f92798987f551c6a02efe8276721e22" +checksum = "fee3f59f4321dab0c78d828942e7aa09d0bd8ad6e78a501977e6bf3d02938045" dependencies = [ "cc", "libc", diff --git a/shared-context/src/registry_guard.rs b/shared-context/src/registry_guard.rs index 4ca2342f..ef7544cf 100644 --- a/shared-context/src/registry_guard.rs +++ b/shared-context/src/registry_guard.rs @@ -130,9 +130,11 @@ fn repo_identity(repo_path: &Path) -> (Option, Option) { /// Parse `owner/repo` out of a common git URL shape. /// -/// git@github.com:owner/repo.git → owner/repo -/// https://github.com/owner/repo.git → owner/repo -/// ssh://git@github.com/owner/repo → owner/repo +/// ```text +/// git@github.com:owner/repo.git → owner/repo +/// https://github.com/owner/repo.git → owner/repo +/// ssh://git@github.com/owner/repo → owner/repo +/// ``` fn parse_full_name(url: &str) -> Option { let s = url.strip_suffix(".git").unwrap_or(url);