diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index be957b9..0203a6d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,13 +19,13 @@ jobs: name: fmt + clippy runs-on: ubuntu-latest steps: - - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 # Rolling ref intentionally NOT SHA-pinned (ADR-0014 D-6): we want each # CI run to pick up the current stable Rust toolchain. - uses: dtolnay/rust-toolchain@stable with: components: rustfmt, clippy - - uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1 + - uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2 - run: cargo fmt --all -- --check - run: cargo clippy --workspace --all-targets --all-features -- -D warnings @@ -41,7 +41,7 @@ jobs: - os: ubuntu-latest rust: beta steps: - - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 # Rolling ref intentionally NOT SHA-pinned (ADR-0014 D-6). # Note: dtolnay/rust-toolchain's @stable/@beta/@nightly tags ignore # the `toolchain:` input; only @master honors it, so non-stable @@ -49,7 +49,7 @@ jobs: - uses: dtolnay/rust-toolchain@master with: toolchain: ${{ matrix.rust }} - - uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1 + - uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2 - run: cargo test --workspace --all-features --no-fail-fast docs: @@ -58,22 +58,22 @@ jobs: env: RUSTDOCFLAGS: -D warnings steps: - - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 # Rolling ref intentionally NOT SHA-pinned (ADR-0014 D-6): we want each # CI run to pick up the current stable Rust toolchain. - uses: dtolnay/rust-toolchain@stable - - uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1 + - uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2 - run: cargo doc --workspace --no-deps --all-features snapshots: name: insta snapshots runs-on: ubuntu-latest steps: - - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 # Rolling ref intentionally NOT SHA-pinned (ADR-0014 D-6): we want each # CI run to pick up the current stable Rust toolchain. - uses: dtolnay/rust-toolchain@stable - - uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1 + - uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2 - run: cargo install cargo-insta --locked - run: cargo insta test --check @@ -81,11 +81,11 @@ jobs: name: feature matrix runs-on: ubuntu-latest steps: - - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 # Rolling ref intentionally NOT SHA-pinned (ADR-0014 D-6): we want each # CI run to pick up the current stable Rust toolchain. - uses: dtolnay/rust-toolchain@stable - - uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1 + - uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2 - run: cargo check -p agentprof-cli --no-default-features - run: cargo check -p agentprof-cli --no-default-features --features otlp - run: cargo check -p agentprof-cli --no-default-features --features web @@ -97,25 +97,25 @@ jobs: name: cargo-deny runs-on: ubuntu-latest steps: - - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 - - uses: EmbarkStudios/cargo-deny-action@bb137d7af7e4fb67e5f82a49c4fce4fad40782fe # v2.0.20 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - uses: EmbarkStudios/cargo-deny-action@3c6349835b2b7b196a839186cb8b78e02f7b5f25 # v2.1.1 pii-guard: name: pii-guard runs-on: ubuntu-latest steps: - - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 # Rolling ref intentionally NOT SHA-pinned (ADR-0014 D-6): we want each # CI run to pick up the current stable Rust toolchain. - uses: dtolnay/rust-toolchain@stable - - uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1 + - uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2 - run: cargo run -p xtask -- audit-pii crates docs-sync: name: docs-sync (L1/L2/L3 enforcement) runs-on: ubuntu-latest steps: - - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Every crate must have a README.md (L2) shell: bash run: | diff --git a/.github/workflows/nightly-msrv.yml b/.github/workflows/nightly-msrv.yml index 8d35aab..28cf877 100644 --- a/.github/workflows/nightly-msrv.yml +++ b/.github/workflows/nightly-msrv.yml @@ -13,7 +13,7 @@ jobs: name: cargo check on declared MSRV (1.78) runs-on: ubuntu-latest steps: - - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 # Rolling ref intentionally NOT SHA-pinned (ADR-0014 D-6). # Note: dtolnay/rust-toolchain's @stable/@beta/@nightly tags ignore # the `toolchain:` input; only @master honors it, so non-stable @@ -21,7 +21,7 @@ jobs: - uses: dtolnay/rust-toolchain@master with: toolchain: "1.78" - - uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1 + - uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2 # Workspace review #5: `cargo check` skips dev-dep / proc-macro # builds that only get exercised by the test-target codepath. # `--all-targets` brings them in so MSRV failures in dev-deps diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index df2477c..97bdaac 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -56,7 +56,7 @@ jobs: env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false submodules: recursive @@ -116,7 +116,7 @@ jobs: - name: enable windows longpaths run: | git config --global core.longpaths true - - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false submodules: recursive @@ -175,7 +175,7 @@ jobs: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} BUILD_MANIFEST_NAME: target/distrib/global-dist-manifest.json steps: - - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false submodules: recursive @@ -225,7 +225,7 @@ jobs: outputs: val: ${{ steps.host.outputs.manifest }} steps: - - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false submodules: recursive @@ -290,7 +290,7 @@ jobs: env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false submodules: recursive diff --git a/.github/workflows/visual-guide.yml b/.github/workflows/visual-guide.yml index f4ae558..2605113 100644 --- a/.github/workflows/visual-guide.yml +++ b/.github/workflows/visual-guide.yml @@ -32,9 +32,9 @@ jobs: name: github-pages url: ${{ steps.deployment.outputs.page_url }} steps: - - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v4 - uses: dtolnay/rust-toolchain@stable - - uses: Swatinem/rust-cache@42dc69e1aa15d09112580998cf2ef0119e2e91ae # v2 + - uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2 with: shared-key: visual-guide - name: Validate (xtask --check) @@ -44,10 +44,10 @@ jobs: run: cargo run -p xtask -- visual-guide - name: Upload Pages artifact (main push only) if: github.event_name != 'pull_request' - uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3 + uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0 with: path: docs/visual-guide - name: Deploy to Pages (main push only) if: github.event_name != 'pull_request' id: deployment - uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4 + uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0