Skip to content

Comments

Add Cargo workflow template for Rust projects#85

Merged
Yaketh (Kushmanmb) merged 4 commits intomainfrom
copilot/add-cargo-prove-feature
Feb 20, 2026
Merged

Add Cargo workflow template for Rust projects#85
Yaketh (Kushmanmb) merged 4 commits intomainfrom
copilot/add-cargo-prove-feature

Conversation

Copy link

Copilot AI commented Feb 20, 2026

Adds workflow template for Rust/Cargo projects, consistent with existing Go and Ruby templates.

Changes

  • cargo-build-lint-test.yml: CI workflow with formatting (cargo fmt), linting (cargo clippy), build, test, and coverage (cargo-tarpaulin on stable)

    • Tests against stable, beta, and nightly Rust versions
    • Uses built-in caching from setup-rust-toolchain action
    • Read-only permissions (contents: read)
  • cargo-build-lint-test.properties.json: Template metadata for auto-detection of Rust projects (Cargo.toml, .rs files)

  • workflow-templates/README.md: Documentation for the new workflow

Example Usage

The template auto-applies to repositories containing:

Cargo.toml
src/**/*.rs

Runs on push to main/master and all pull requests with matrix testing across Rust versions.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 3 commits February 20, 2026 16:37
Co-authored-by: Kushmanmb <193178375+Kushmanmb@users.noreply.github.com>
Co-authored-by: Kushmanmb <193178375+Kushmanmb@users.noreply.github.com>
Co-authored-by: Kushmanmb <193178375+Kushmanmb@users.noreply.github.com>
Copilot AI changed the title [WIP] Add cargo prove functionality to the project Add Cargo workflow template for Rust projects Feb 20, 2026
@Kushmanmb Yaketh (Kushmanmb) marked this pull request as ready for review February 20, 2026 16:44
@Kushmanmb Yaketh (Kushmanmb) merged commit 83b922a into main Feb 20, 2026
8 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants