From c3343014d22af32d1ecbc59fcf769092bcef9201 Mon Sep 17 00:00:00 2001 From: Liam Date: Mon, 23 Sep 2024 09:58:32 +0100 Subject: [PATCH] this may or may not work, idk ask chatgpt (aka john) --- .gitea/workflows/kubernetes-linter.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitea/workflows/kubernetes-linter.yml b/.gitea/workflows/kubernetes-linter.yml index 14562fc..5161018 100644 --- a/.gitea/workflows/kubernetes-linter.yml +++ b/.gitea/workflows/kubernetes-linter.yml @@ -16,6 +16,16 @@ jobs: with: go-version: "1.23.1" + - name: Cache Go modules + uses: actions/cache@v3 + with: + path: | + ~/.cache/go-build + ~/go/pkg/mod + key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} + restore-keys: | + ${{ runner.os }}-go- + - name: Install kube-linter run: | go install golang.stackrox.io/kube-linter/cmd/kube-linter@latest