From 106816bdc0d6bb1b9af495535088d6397e21720e Mon Sep 17 00:00:00 2001 From: Yumin Xia Date: Tue, 22 Oct 2024 10:30:50 -0700 Subject: [PATCH] fmt in CI --- .github/workflows/grevm-fmt.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/grevm-fmt.yml b/.github/workflows/grevm-fmt.yml index 99a13a3..0c34d84 100644 --- a/.github/workflows/grevm-fmt.yml +++ b/.github/workflows/grevm-fmt.yml @@ -17,12 +17,9 @@ jobs: - name: Set up Rust uses: actions-rs/toolchain@v1 - with: - toolchain: stable - override: true - name: Install rustfmt - run: rustup component add rustfmt + run: rustup component add rustfmt --toolchain nightly - name: Run cargo fmt - run: cargo fmt --check + run: cargo +nightly fmt