From 5875ed933949ffbd2c7caa5f87f4991c455d550f Mon Sep 17 00:00:00 2001 From: Emmie Maeda Date: Mon, 30 Oct 2023 11:12:37 -0400 Subject: [PATCH] Ignore unused imports in locales build as well. Despite the --no-deps, our locale workflow is picking up errors not from its own code being linted but because clippy is annoying about deepwell's use of star imports in prelude and the like. --- .github/workflows/locales.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/locales.yaml b/.github/workflows/locales.yaml index 12e00f6da0..4c04bb224b 100644 --- a/.github/workflows/locales.yaml +++ b/.github/workflows/locales.yaml @@ -65,4 +65,6 @@ jobs: run: cd ftml && cargo fmt --all -- --check - name: Clippy - run: cd ftml && cargo clippy --no-deps + run: cd ftml && cargo clippy --no-deps -- -A unused_imports + + # See deepwell.yaml for explainer on unused_import.