-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0ef53fb
commit 36d5507
Showing
1 changed file
with
35 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,52 @@ | ||
# Rust CI | ||
|
||
This repository contains the configuration for a Continuous Integration (CI) pipeline for Rust projects. The pipeline is designed to ensure that the code is checked for compilation errors, follows best coding practices, builds successfully, and passes automated tests. | ||
 | ||
 | ||
|
||
## Using This Action in Your Workflow | ||
A GitHub Action to streamline Continuous Integration (CI) for Rust projects. This Action ensures code quality, builds, and tests your Rust project, maintaining high standards in Rust development. | ||
|
||
To use this CI configuration in your workflow, include it as follows in your CI file: | ||
--- | ||
|
||
## π **Features** | ||
|
||
- **Automatic Builds:** Ensures your code compiles without issues. | ||
- **Code Quality Checks:** Verifies adherence to Rust standards. | ||
- **Automated Testing:** Runs tests to validate your project's functionality. | ||
- **Plug-and-Play:** Easy to integrate into your existing Rust projects. | ||
|
||
--- | ||
|
||
## π¦ **How to Use** | ||
|
||
Add the following to your `.github/workflows/ci.yml`: | ||
|
||
```yaml | ||
name: CI | ||
|
||
on: | ||
- pull_request | ||
- push | ||
|
||
jobs: | ||
rust-ci: | ||
name: Rust CI | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actalog/rust-ci@main | ||
uses: actions/checkout@v4 | ||
uses: actalog/rust-ci@v1 | ||
``` | ||
--- | ||
## π **Why Use Rust CI?** | ||
- Simplifies your CI/CD setup. | ||
- Optimized for Rust projects. | ||
- Saves time and enforces best practices. | ||
- Continuously improves based on community feedback. | ||
--- | ||
## π **License** | ||
This project is licensed under The Unlicense. See the [LICENSE](./LICENSE) file for details. |