Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
G

gh-workflow

> 开发工具
Open source

Write your github workflows in rust

176 stars0 likes2 views
WebsiteGitHub

About

Write your github workflows in rust

Rust GitHub Actions Workflow

‍ What is Rust GitHub Workflows?

Rust GitHub Workflows is a library that allows developers to write GitHub Actions in Rust. It empowers you to automate, manage, and improve your CI/CD pipelines in a type-safe manner.

GitHub Actions is powerful, but writing workflows can sometimes feel repetitive, tricky and frustrating with no strict type-checking. That's where Rust GitHub Workflows steps in!

  • Rust-Powered: Leverage the type-safety of Rust for writing workflows.
  • Crate-friendly: Build reusable workflows and publish them as crates.

Installation

To use Rust GitHub Workflows in your project, add it to your Cargo.toml:

toml
[dev-dependencies]
gh-workflow = "*" # Add the latest version

Then you can start creating GitHub Actions in your tests/ci.rs.

Usage

  • Simply add a tests/ci.rs file to your project's tests directory.
  • Add the following code to generate the GitHub Actions workflow:
…

To view a fully functional example, check out the tests/ci.rs of this project.

  • Run cargo test to generate the GitHub Actions workflow.

Why Rust?

Rust provides the perfect combination of speed, safety, and flexibility, making it an ideal choice for writing GitHub Actions. With Rust, you get strong typing, memory safety, and the ability to reuse existing code, which can make your automation scripts more robust and maintainable.

License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details.

Contributors

A big thank you to all the contributors who helped make this project a success!

Show Your Support

If you like this project, please consider giving it a ⭐ on GitHub and share it with the community!

Inspiration

This project was inspired by the following repositories:

  • sbt/sbt-github-actions
  • emmanuelnk/github-actions-workflow-ts

Happy automating with Rust! ❤️

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rustgithubgithub-actionsgithub-workflowsrust

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category开发工具
PricingOpen source

> Related tools

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具