diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 90998c8..abff72d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: | diff --git a/src/cairo_vm.rs b/src/cairo_vm.rs index ccdaf27..8b88961 100644 --- a/src/cairo_vm.rs +++ b/src/cairo_vm.rs @@ -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() diff --git a/src/error.rs b/src/error.rs index 20db125..8f74a1e 100644 --- a/src/error.rs +++ b/src/error.rs @@ -16,4 +16,4 @@ pub enum VerifierError { IoError(#[from] std::io::Error), #[error("verifier run failed")] CommandError(std::process::Output), -} \ No newline at end of file +}