From 2957beceb4e0e8cf185b7571ec10d7cead5b519b Mon Sep 17 00:00:00 2001 From: Mathieu Kniewallner Date: Thu, 22 Aug 2024 22:46:14 +0200 Subject: [PATCH] ci: remove duplicated `rustfmt` installation --- .github/workflows/main.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 47ae43c2c..f50849c58 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,16 +26,13 @@ jobs: run: rustup component add clippy rustfmt - name: Run pre-commit - run: | - rustup component add rustfmt - uvx pre-commit@${{ env.PRE_COMMIT_VERSION }} run -a --show-diff-on-failure + run: uvx pre-commit@${{ env.PRE_COMMIT_VERSION }} run -a --show-diff-on-failure env: # renovate: datasource=pypi depName=pre-commit PRE_COMMIT_VERSION: '3.8.0' - name: Inspect dependencies with deptry - run: | - uv run deptry python + run: uv run deptry python tests: strategy: