Prompt Buddy logoPrompt Buddy

github · GitHub Actions Docs

Actions Building and testing Rust - GitHub Docs

A tutorial for setting up a GitHub Actions workflow to automate the building and testing of Rust code within a repository.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Actions Building and testing Rust - GitHub Docs

A tutorial for setting up a GitHub Actions workflow to automate the building and testing of Rust code within a repository.

When To Use

Use when you need to configure a GitHub Actions workflow to automatically compile and run tests for a Rust-based project.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/actions-build-and-test-rust-building-testing-github-docs-workflow-guide.mdA tutorial guide on creating a continuous integration workflow to build and test Rust projects using GitHub Actions.Questions about a tutorial guide on creating a continuous integration workflow to build and test Rust projects using GitHub Actions.
examples/actions-build-and-test-rust-building-testing-github-docs-github-actions-.textA GitHub Actions workflow configuration demonstrating how to build and test a Rust project using rustup.Exact payloads, commands, or snippets shown in A GitHub Actions workflow configuration demonstrating how to build and test a Rust project using rustup.
examples/actions-build-and-test-rust-building-testing-github-docs-github-actions--2.textA YAML-formatted workflow configuration demonstrating how to build and test a Rust project using GitHub Actions with caching for cargo dependencies.Exact payloads, commands, or snippets shown in A YAML-formatted workflow configuration demonstrating how to build and test a Rust project using GitHub Actions with...
examples/actions-build-and-test-rust-building-testing-github-docs-github-actions--3.textA GitHub Actions workflow YAML configuration for building and testing Rust code using cargo profiles.Exact payloads, commands, or snippets shown in A GitHub Actions workflow YAML configuration for building and testing Rust code using cargo profiles.
examples/actions-build-and-test-rust-building-testing-github-docs-github-actions--4.textA GitHub Actions workflow configuration demonstrating how to build, package, and publish Rust binaries and crates.Exact payloads, commands, or snippets shown in A GitHub Actions workflow configuration demonstrating how to build, package, and publish Rust binaries and crates.
examples/actions-build-and-test-rust-building-testing-github-docs-github-actions--5.textA YAML workflow configuration demonstrating how to build and test a Rust application using GitHub Actions.Exact payloads, commands, or snippets shown in A YAML workflow configuration demonstrating how to build and test a Rust application using GitHub Actions.
examples/actions-build-and-test-rust-building-testing-github-docs-github-actions--6.textA GitHub Actions workflow configuration for checking out code, downloading artifacts, and publishing a built Rust binary to GitHub releases.Exact payloads, commands, or snippets shown in A GitHub Actions workflow configuration for checking out code, downloading artifacts, and publishing a built Rust bin...

What This Skill Covers

    • GitHub Actions / - Tutorials / - Build and test code / - Rust
  • Main sections: In this article, Introduction, Prerequisites, Using a Rust workflow template, Specifying a Rust version.

Workflow

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://docs.github.com/en/actions/tutorials/build-and-test-code/rust