From 9572c94e47122d4bcbd84602a1b63d10e043386d Mon Sep 17 00:00:00 2001 From: lucasliang Date: Thu, 11 Jan 2024 15:39:07 +0800 Subject: [PATCH] Fix clippy errors with `--fix`. Signed-off-by: lucasliang --- .github/workflows/rust.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index df54306c..6f770471 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -34,6 +34,8 @@ jobs: git diff --exit-code - name: Clippy run: make clippy + env: + EXTRA_CARGO_ARGS: '--fix' - name: Run tests run: make test env: