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.
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
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/actions-build-and-test-rust-building-testing-github-docs-workflow-guide.md | A 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-.text | A 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.text | A 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.text | A 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.text | A 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.text | A 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.text | A 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
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - 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
