From e00766e4b0093039868f664c17856485c3ef3049 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Sun, 15 Mar 2026 00:39:04 -0500 Subject: [PATCH] feat: add cache --- .gitea/workflows/lint-test-helm.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.gitea/workflows/lint-test-helm.yaml b/.gitea/workflows/lint-test-helm.yaml index a19780424..5b87722e9 100644 --- a/.gitea/workflows/lint-test-helm.yaml +++ b/.gitea/workflows/lint-test-helm.yaml @@ -260,6 +260,17 @@ jobs: token: ${{ secrets.GITEA_TOKEN }} version: v3.19.2 + - name: Cache Helm Dependencies + if: steps.branch-exists.outputs.exists == 'true' + uses: actions/cache@v5 + with: + path: | + ~/.cache/helm + ~/.config/helm + key: helm-cache-${{ runner.os }}-${{ hashFiles('infrastructure/clusters/cl01tl/helm/**/Chart.yaml', 'infrastructure/clusters/cl01tl/helm/**/Chart.lock') }} + restore-keys: | + helm-cache-${{ runner.os }}- + - name: Add Repositories env: CHANGED_CHARTS: ${{ needs.lint-helm.outputs.chart-dir }}