Skip to content

artagon/artagon-workflow-test-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Artagon Workflow Test - Rust

CI

Test repository for validating artagon-workflows Rust CI reusable workflow (when available).

Status

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.

Purpose

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

Project Structure

.
├── Cargo.toml
├── src/
│   ├── lib.rs
│   └── main.rs
└── .github/workflows/
    └── ci.yml

Current CI

The placeholder workflow:

  • Builds with stable Rust
  • Runs tests
  • Runs clippy with -D warnings
  • Checks formatting with rustfmt

Triggers

  • 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

Running Locally

cargo build
cargo test
cargo clippy -- -D warnings
cargo fmt -- --check

TODO

  • Create rust_ci.yml reusable workflow in artagon-workflows
  • Update CI to call reusable workflow
  • Add test matrix configurations

Related

About

Test repository for artagon-workflows Rust CI workflow validation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages