Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "github-actions-models"
authors = ["William Woodruff <[email protected]>"]
description = "Unofficial, high-quality data models for GitHub Actions workflows, actions, and related components"
version = "0.26.0"
edition = "2021"
edition = "2024"
license = "MIT"
repository = "https://github.com/woodruffw/github-actions-models"
keywords = ["github", "ci"]
Expand Down
2 changes: 1 addition & 1 deletion src/action.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ use indexmap::IndexMap;
use serde::Deserialize;

use crate::common::{
expr::{BoE, LoE},
Env, If, Uses,
expr::{BoE, LoE},
};

/// A GitHub Actions action definition.
Expand Down
4 changes: 2 additions & 2 deletions src/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use std::{
};

use indexmap::IndexMap;
use serde::{de, Deserialize, Deserializer, Serialize};
use serde::{Deserialize, Deserializer, Serialize, de};

pub mod expr;

Expand Down Expand Up @@ -383,7 +383,7 @@ mod tests {
use crate::common::{BasePermission, Env, EnvValue, Permission};

use super::{
reusable_step_uses, DockerUses, LocalUses, Permissions, RepositoryUses, Uses, UsesError,
DockerUses, LocalUses, Permissions, RepositoryUses, Uses, UsesError, reusable_step_uses,
};

#[test]
Expand Down
4 changes: 2 additions & 2 deletions src/workflow/job.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! Workflow jobs.

use indexmap::IndexMap;
use serde::{de, Deserialize};
use serde::{Deserialize, de};
use serde_yaml::Value;

use crate::common::expr::{BoE, LoE};
Expand Down Expand Up @@ -205,7 +205,7 @@ pub enum Secrets {
#[cfg(test)]
mod tests {
use crate::{
common::{expr::LoE, EnvValue},
common::{EnvValue, expr::LoE},
workflow::job::{Matrix, Secrets},
};

Expand Down
2 changes: 1 addition & 1 deletion src/workflow/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ use indexmap::IndexMap;
use serde::Deserialize;

use crate::common::{
expr::{BoE, LoE},
Env, Permissions,
expr::{BoE, LoE},
};

pub mod event;
Expand Down
4 changes: 2 additions & 2 deletions tests/test_workflow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ use std::{env, path::Path, str::FromStr};

use github_actions_models::{
common::{
expr::{ExplicitExpr, LoE},
Uses,
expr::{ExplicitExpr, LoE},
},
workflow::{
Job, Trigger, Workflow,
event::OptionalBody,
job::{RunsOn, StepBody},
Job, Trigger, Workflow,
},
};

Expand Down
Loading