Test repository for validating artagon-workflows Rust CI reusable workflow (when available).
Placeholder - The artagon-workflows repository does not yet have a Rust CI workflow. This repository contains a basic Rust project with a standalone CI that will be converted to use the reusable workflow once available.
Once the Rust workflow is available, this repository will validate:
- Build Rust projects correctly
- Run tests and report results
- Support different Rust versions (stable, beta, nightly)
- Run clippy and rustfmt checks
- Handle custom cargo features
- Generate code coverage
.
├── Cargo.toml
├── src/
│ ├── lib.rs
│ └── main.rs
└── .github/workflows/
└── ci.yml
The placeholder workflow:
- Builds with stable Rust
- Runs tests
- Runs clippy with
-D warnings - Checks formatting with rustfmt
- Push to main - Validates changes
- Pull requests - Pre-merge validation
- Daily schedule (2 AM UTC) - Ensure project builds
- Manual dispatch - On-demand testing
- Repository dispatch - Triggered by trigger_test_repos.yml
cargo build
cargo test
cargo clippy -- -D warnings
cargo fmt -- --check- Create
rust_ci.ymlreusable workflow in artagon-workflows - Update CI to call reusable workflow
- Add test matrix configurations
- artagon-workflows - Main workflow repository
- Testing Guide