ci: adapt bench subcommand to cargo-rbmt 0.4.0
What changed, and why it matters
This is a routine update to the project's automated testing configuration. It changes how benchmark tests are run in GitHub Actions to match a new version of an internal helper tool (cargo-rbmt 0.4.0). There is no user-facing change and no security relevance.
No security action needed. This is a CI maintenance change.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The commit modifies .github/workflows/rust.yml to remove ‘bench’ from the matrix tasks that invoke ‘cargo rbmt
Changed components
.github/workflows/rust.ymlInspect captured patch +15 / −1
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index 5fde8587..31a459f2 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -41,7 +41,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- task: [api, lint, docs, docsrs, bench]
+ task: [api, lint, docs, docsrs]
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
@@ -50,6 +50,20 @@ jobs:
- name: "Run ${{ matrix.task }}"
run: cargo rbmt ${{ matrix.task }}
+ Bench:
+ runs-on: ubuntu-24.04
+ permissions:
+ contents: read
+ steps:
+ - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
+ with:
+ persist-credentials: false
+ - uses: ./.github/actions/setup-rbmt
+ - name: "Run bench"
+ env:
+ RUSTFLAGS: --cfg=bench
+ run: cargo rbmt run --toolchain nightly -- bench
+
Prerelease:
runs-on: ubuntu-24.04
permissions:
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.