Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/reusable-ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# file: .github/workflows/reusable-ci.yml
# version: 1.13.0
# version: 1.14.0
# guid: reusable-ci-2025-09-24-core-workflow

name: Reusable CI Workflow
Expand Down Expand Up @@ -652,16 +652,16 @@ jobs:
with:
command: rust-clippy

# Build and test run inline rather than through gha-ci-workflow-helpers:
# the action never implemented the rust-build / rust-test commands (only
# rust-format and rust-clippy exist, in every release through v1.1.7), so
# invoking them failed every Rust CI run with "Unknown command: rust-build".
- name: Build Rust project
uses: falkcorp/gha-ci-workflow-helpers@c8b87fae92ee0a0458e47b970ed892310323aa58 # v1.1.4
with:
command: rust-build
run: cargo build --release

- name: Test Rust project
if: ${{ !inputs.skip-tests }}
uses: falkcorp/gha-ci-workflow-helpers@c8b87fae92ee0a0458e47b970ed892310323aa58 # v1.1.4
with:
command: rust-test
run: cargo test --release

# Setup npm cache for frontend using advanced cache strategy
frontend-npm-cache:
Expand Down
14 changes: 14 additions & 0 deletions changelog.d/20260720-rust-build-inline.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
### Fixed

#### Rust CI no longer fails with "Unknown command: rust-build"

The Rust job invoked `gha-ci-workflow-helpers` with `command: rust-build` and
`command: rust-test`, but that action never implemented either command — only
`rust-format` and `rust-clippy` exist, in every release through v1.1.7. So every
repository whose Rust CI actually ran failed at the build step with
`Unknown command: rust-build`.

The build and test steps now run `cargo build --release` / `cargo test --release`
inline. Format and clippy still go through the action, which does support them.
Surfaced by falkcorp/cockroach-rollout-agent, whose Rust CI activated for the
first time during the TODO fan-out.
Loading