mirror of
https://github.com/apache/superset.git
synced 2026-04-07 18:35:15 +00:00
chore(ci): make pre-commit step faster by skipping superset install (#27979)
This commit is contained in:
committed by
GitHub
parent
a6d16ed477
commit
a29cdefedf
3
.github/workflows/pre-commit.yml
vendored
3
.github/workflows/pre-commit.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user