Skip to main content

gha_cache_proof/
lib.rs

1//! GitHub Actions cache compatibility checks for offline CI systems.
2//!
3//! `gha-cache-proof` models the public `actions/cache` restore/save surface
4//! against a deterministic local store and emits receipts that can be attached
5//! to larger workflow-run evidence.
6
7mod engine;
8mod model;
9mod render;
10mod store;
11mod workflow;
12
13pub use engine::{
14    CheckWorkflowOptions, CommonOptions, RestoreOptions, SaveOptions, check_workflows,
15    restore_cache, save_cache,
16};
17pub use model::{Compression, OutputFormat, RunnerOs};
18pub use render::render_receipt;
19
20pub const TOOL_NAME: &str = "gha-cache-proof";
21pub const TOOL_VERSION: &str = env!("CARGO_PKG_VERSION");