Skip to content

Commit

Permalink
use untagged version of serde
Browse files Browse the repository at this point in the history
  • Loading branch information
tusharmath committed Nov 7, 2024
1 parent 1b46809 commit b4b783f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 39 deletions.
1 change: 0 additions & 1 deletion workspace/gh-workflow/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ pub mod error;
mod rust_flag;
mod toolchain;
pub(crate) mod workflow;
mod serde;

pub use rust_flag::*;
pub use toolchain::*;
Expand Down
37 changes: 0 additions & 37 deletions workspace/gh-workflow/src/serde.rs

This file was deleted.

3 changes: 2 additions & 1 deletion workspace/gh-workflow/src/workflow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,8 @@ pub enum OneOrMany<T> {
Multiple(Vec<T>),
}

#[derive(Debug, Clone, PartialEq, Eq)]
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq, Eq)]
#[serde(untagged)]
pub enum AnyStep {
Run(Step<Run>),
Use(Step<Use>),
Expand Down

0 comments on commit b4b783f

Please sign in to comment.