You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by mi...@apache.org on 2026/07/20 18:48:44 UTC
(superset) 06/07: feat(ci): install helm-docs directly instead of using whole brew setup (backport #41629) (#42113)
This is an automated email from the ASF dual-hosted git repository.
michael-s-molina pushed a commit to branch 6.2
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 36accb034c067e526e5d82e362093fc6b5ca2223
Author: Luiz Otavio <45...@users.noreply.github.com>
AuthorDate: Thu Jul 16 15:18:04 2026 -0300
feat(ci): install helm-docs directly instead of using whole brew setup (backport #41629) (#42113)
Co-authored-by: Claude Opus 4.8 <no...@anthropic.com>
---
.github/workflows/pre-commit.yml | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml
index 86d9cba9384..23a28a72e56 100644
--- a/.github/workflows/pre-commit.yml
+++ b/.github/workflows/pre-commit.yml
@@ -28,19 +28,18 @@ jobs:
with:
persist-credentials: false
submodules: recursive
+
- name: Setup Python
uses: ./.github/actions/setup-backend/
with:
python-version: ${{ matrix.python-version }}
- - name: Enable brew and helm-docs
- # Add brew to the path - see https://github.com/actions/runner-images/issues/6283
- run: |
- echo "/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin" >> $GITHUB_PATH
- eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
- echo "HOMEBREW_PREFIX=$HOMEBREW_PREFIX" >>"${GITHUB_ENV}"
- echo "HOMEBREW_CELLAR=$HOMEBREW_CELLAR" >>"${GITHUB_ENV}"
- echo "HOMEBREW_REPOSITORY=$HOMEBREW_REPOSITORY" >>"${GITHUB_ENV}"
- brew install norwoodj/tap/helm-docs
+
+ - name: Setup Go
+ uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
+
+ - name: Install helm-docs
+ run: go install github.com/norwoodj/helm-docs/cmd/helm-docs@v1.14.2
+
- name: Setup Node.js
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
with: