ci(cache): migrate rust cache actions to useblacksmith (#706)
This commit is contained in:
parent
a087007257
commit
5afff7b6d7
7 changed files with 11 additions and 10 deletions
2
.github/workflows/benchmarks.yml
vendored
2
.github/workflows/benchmarks.yml
vendored
|
|
@ -26,7 +26,7 @@ jobs:
|
||||||
- uses: dtolnay/rust-toolchain@631a55b12751854ce901bb631d5902ceb48146f7 # stable
|
- uses: dtolnay/rust-toolchain@631a55b12751854ce901bb631d5902ceb48146f7 # stable
|
||||||
with:
|
with:
|
||||||
toolchain: 1.92.0
|
toolchain: 1.92.0
|
||||||
- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2
|
- uses: useblacksmith/rust-cache@f53e7f127245d2a269b3d90879ccf259876842d5 # v3
|
||||||
|
|
||||||
- name: Run benchmarks
|
- name: Run benchmarks
|
||||||
run: cargo bench --locked 2>&1 | tee benchmark_output.txt
|
run: cargo bench --locked 2>&1 | tee benchmark_output.txt
|
||||||
|
|
|
||||||
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
|
@ -54,7 +54,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
toolchain: 1.92.0
|
toolchain: 1.92.0
|
||||||
components: rustfmt, clippy
|
components: rustfmt, clippy
|
||||||
- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2
|
- uses: useblacksmith/rust-cache@f53e7f127245d2a269b3d90879ccf259876842d5 # v3
|
||||||
- name: Run rust quality gate
|
- name: Run rust quality gate
|
||||||
run: ./scripts/ci/rust_quality_gate.sh
|
run: ./scripts/ci/rust_quality_gate.sh
|
||||||
|
|
||||||
|
|
@ -72,7 +72,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
toolchain: 1.92.0
|
toolchain: 1.92.0
|
||||||
components: clippy
|
components: clippy
|
||||||
- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2
|
- uses: useblacksmith/rust-cache@f53e7f127245d2a269b3d90879ccf259876842d5 # v3
|
||||||
- name: Run strict lint delta gate
|
- name: Run strict lint delta gate
|
||||||
env:
|
env:
|
||||||
BASE_SHA: ${{ needs.changes.outputs.base_sha }}
|
BASE_SHA: ${{ needs.changes.outputs.base_sha }}
|
||||||
|
|
@ -89,7 +89,7 @@ jobs:
|
||||||
- uses: dtolnay/rust-toolchain@631a55b12751854ce901bb631d5902ceb48146f7 # stable
|
- uses: dtolnay/rust-toolchain@631a55b12751854ce901bb631d5902ceb48146f7 # stable
|
||||||
with:
|
with:
|
||||||
toolchain: 1.92.0
|
toolchain: 1.92.0
|
||||||
- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2
|
- uses: useblacksmith/rust-cache@f53e7f127245d2a269b3d90879ccf259876842d5 # v3
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: cargo test --locked --verbose
|
run: cargo test --locked --verbose
|
||||||
|
|
||||||
|
|
@ -105,7 +105,7 @@ jobs:
|
||||||
- uses: dtolnay/rust-toolchain@631a55b12751854ce901bb631d5902ceb48146f7 # stable
|
- uses: dtolnay/rust-toolchain@631a55b12751854ce901bb631d5902ceb48146f7 # stable
|
||||||
with:
|
with:
|
||||||
toolchain: 1.92.0
|
toolchain: 1.92.0
|
||||||
- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2
|
- uses: useblacksmith/rust-cache@f53e7f127245d2a269b3d90879ccf259876842d5 # v3
|
||||||
- name: Build release binary
|
- name: Build release binary
|
||||||
run: cargo build --release --locked --verbose
|
run: cargo build --release --locked --verbose
|
||||||
|
|
||||||
|
|
|
||||||
2
.github/workflows/e2e.yml
vendored
2
.github/workflows/e2e.yml
vendored
|
|
@ -25,6 +25,6 @@ jobs:
|
||||||
- uses: dtolnay/rust-toolchain@631a55b12751854ce901bb631d5902ceb48146f7 # stable
|
- uses: dtolnay/rust-toolchain@631a55b12751854ce901bb631d5902ceb48146f7 # stable
|
||||||
with:
|
with:
|
||||||
toolchain: 1.92.0
|
toolchain: 1.92.0
|
||||||
- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2
|
- uses: useblacksmith/rust-cache@f53e7f127245d2a269b3d90879ccf259876842d5 # v3
|
||||||
- name: Run integration / E2E tests
|
- name: Run integration / E2E tests
|
||||||
run: cargo test --test agent_e2e --locked --verbose
|
run: cargo test --test agent_e2e --locked --verbose
|
||||||
|
|
|
||||||
2
.github/workflows/feature-matrix.yml
vendored
2
.github/workflows/feature-matrix.yml
vendored
|
|
@ -49,7 +49,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
toolchain: 1.92.0
|
toolchain: 1.92.0
|
||||||
|
|
||||||
- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2
|
- uses: useblacksmith/rust-cache@f53e7f127245d2a269b3d90879ccf259876842d5 # v3
|
||||||
with:
|
with:
|
||||||
key: features-${{ matrix.name }}
|
key: features-${{ matrix.name }}
|
||||||
|
|
||||||
|
|
|
||||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
|
@ -44,7 +44,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
targets: ${{ matrix.target }}
|
targets: ${{ matrix.target }}
|
||||||
|
|
||||||
- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2
|
- uses: useblacksmith/rust-cache@f53e7f127245d2a269b3d90879ccf259876842d5 # v3
|
||||||
|
|
||||||
- name: Build release
|
- name: Build release
|
||||||
run: cargo build --release --locked --target ${{ matrix.target }}
|
run: cargo build --release --locked --target ${{ matrix.target }}
|
||||||
|
|
|
||||||
2
.github/workflows/rust-reusable.yml
vendored
2
.github/workflows/rust-reusable.yml
vendored
|
|
@ -53,7 +53,7 @@ jobs:
|
||||||
|
|
||||||
- name: Restore Rust cache
|
- name: Restore Rust cache
|
||||||
if: inputs.use_cache
|
if: inputs.use_cache
|
||||||
uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2
|
uses: useblacksmith/rust-cache@f53e7f127245d2a269b3d90879ccf259876842d5 # v3
|
||||||
|
|
||||||
- name: Run command
|
- name: Run command
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,6 @@ Selected allowlist patterns:
|
||||||
- `actions/*` (covers `actions/cache`, `actions/checkout`, `actions/upload-artifact`, `actions/download-artifact`, and other first-party actions)
|
- `actions/*` (covers `actions/cache`, `actions/checkout`, `actions/upload-artifact`, `actions/download-artifact`, and other first-party actions)
|
||||||
- `docker/*`
|
- `docker/*`
|
||||||
- `dtolnay/rust-toolchain@*`
|
- `dtolnay/rust-toolchain@*`
|
||||||
- `Swatinem/rust-cache@*`
|
|
||||||
- `DavidAnson/markdownlint-cli2-action@*`
|
- `DavidAnson/markdownlint-cli2-action@*`
|
||||||
- `lycheeverse/lychee-action@*`
|
- `lycheeverse/lychee-action@*`
|
||||||
- `EmbarkStudios/cargo-deny-action@*`
|
- `EmbarkStudios/cargo-deny-action@*`
|
||||||
|
|
@ -75,6 +74,8 @@ If encountered, add only the specific trusted missing action, rerun, and documen
|
||||||
|
|
||||||
Latest sweep notes:
|
Latest sweep notes:
|
||||||
|
|
||||||
|
- 2026-02-17: Rust dependency cache migrated from `Swatinem/rust-cache` to `useblacksmith/rust-cache`
|
||||||
|
- No new allowlist pattern required (`useblacksmith/*` already allowlisted)
|
||||||
- 2026-02-16: Hidden dependency discovered in `release.yml`: `sigstore/cosign-installer@...`
|
- 2026-02-16: Hidden dependency discovered in `release.yml`: `sigstore/cosign-installer@...`
|
||||||
- Added allowlist pattern: `sigstore/cosign-installer@*`
|
- Added allowlist pattern: `sigstore/cosign-installer@*`
|
||||||
- 2026-02-16: Blacksmith migration blocked workflow execution
|
- 2026-02-16: Blacksmith migration blocked workflow execution
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue