chore: Cleanup workflows to be run from just (#238)

This commit is contained in:
Gerald Pinder 2024-10-07 16:34:36 -04:00 committed by GitHub
parent 7c5578994e
commit 32092195d3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 298 additions and 265 deletions

View file

@ -28,6 +28,7 @@ sigstore = { version = "0.10", features = ["full-rustls-tls", "cached-client", "
tokio = { version = "1.39.2", features = ["rt", "rt-multi-thread"], optional = true }
zeroize = { version = "1", features = ["aarch64", "derive", "serde"] }
cached.workspace = true
chrono.workspace = true
clap = { workspace = true, features = ["derive", "env"] }
colored.workspace = true
@ -42,7 +43,6 @@ tempdir.workspace = true
bon.workspace = true
users.workspace = true
uuid.workspace = true
cached = "0.53.1"
[dev-dependencies]
rstest.workspace = true

View file

@ -5,6 +5,7 @@ use bon::Builder;
use crate::drivers::types::Platform;
#[derive(Debug, Clone, Builder)]
#[builder(derive(Clone))]
pub struct GetMetadataOpts<'scope> {
#[builder(into)]
pub image: Cow<'scope, str>,

View file

@ -170,7 +170,7 @@ impl DetermineDriver<CiDriverType> for Option<CiDriverType> {
}
}
#[derive(Debug, Default, Clone, Copy, ValueEnum)]
#[derive(Debug, Default, Clone, Copy, ValueEnum, PartialEq, Eq, Hash)]
pub enum Platform {
#[default]
#[value(name = "native")]