diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index d0a5d10064..e9a0888a26 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -214,6 +214,13 @@ jobs: toolchain: stable override: true components: rustfmt + - name: print rustfmt version2 + uses: actions-rs/cargo@v1 + with: + command: fmt + args: --version + - name: print rustfmt version + run: rustfmt --version - name: Run rustfmt check uses: actions-rs/cargo@v1 with: