Skip to content

Commit

Permalink
CI: enforce format with cargo fmt (#6)
Browse files Browse the repository at this point in the history
* CI: enforce format with `cargo fmt`

* apply cargo fmt
  • Loading branch information
odesenfans authored Feb 24, 2024
1 parent e38435c commit 5a55a76
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ jobs:
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-

- name: Cargo fmt
run: cargo fmt --check

- name: Get Stone submodule version
id: get-stone-version
run: |
Expand Down
2 changes: 1 addition & 1 deletion src/cairo_vm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ pub fn make_bootloader_tasks(
pie.map(|pie| TaskSpec {
task: Task::Pie(pie),
})
.map_err(BootloaderTaskError::Pie)
.map_err(BootloaderTaskError::Pie)
});

program_tasks.chain(cairo_pie_tasks).collect()
Expand Down
2 changes: 1 addition & 1 deletion src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ pub enum VerifierError {
IoError(#[from] std::io::Error),
#[error("verifier run failed")]
CommandError(std::process::Output),
}
}

0 comments on commit 5a55a76

Please sign in to comment.