From a29cdefedf80a75204ff32f52c9e3adc560fd13c Mon Sep 17 00:00:00 2001 From: Maxime Beauchemin Date: Wed, 10 Apr 2024 20:22:47 -0700 Subject: [PATCH] chore(ci): make pre-commit step faster by skipping superset install (#27979) --- .github/workflows/pre-commit.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 541b4a8bf..c4386d71d 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -24,6 +24,8 @@ jobs: submodules: recursive - name: Setup Python uses: ./.github/actions/setup-backend/ + with: + install-superset: 'false' - name: Enable brew and helm-docs # Add brew to the path - see https://github.com/actions/runner-images/issues/6283 run: | @@ -35,6 +37,7 @@ jobs: brew install norwoodj/tap/helm-docs - name: pre-commit run: | + pip install pre-commit if ! pre-commit run --all-files; then git status git diff