Skip to content

Commit

Permalink
update nightly command
Browse files Browse the repository at this point in the history
  • Loading branch information
tusharmath committed Nov 6, 2024
1 parent e9ef35d commit db2e57f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions workspace/gh-workflow-gen/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ fn main() {
);

let nightly = Job::new("Nightly")
.add_step(Step::uses("actions", "checkout", 4).name("Checkout Code"))
.add_step(Step::checkout())
.add_step(
// TODO: Rust Tool Chain can be a separate struct
Step::uses("actions-rust-lang", "setup-rust-toolchain", 1)
Expand All @@ -27,8 +27,7 @@ fn main() {
)
.add_step(
// TODO: Cargo fmt command should be more type-safe
Step::run("cargo +nightly fmt --all-features --workspace -- check")
.name("Run Fmt"),
Step::run("cargo +nightly fmt --all-features --workspace -- check").name("Run Fmt"),
)
.add_step(
// TODO: Cargo clippy command should be more type-safe
Expand Down

0 comments on commit db2e57f

Please sign in to comment.