From c5c566f85ce9bcf55dc732abb685ed42a2e5b622 Mon Sep 17 00:00:00 2001 From: wispem-wantex Date: Sat, 7 Jun 2025 06:58:08 -0400 Subject: [PATCH] Try adding cache volume --- .gitea/workflows/workflow.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/workflow.yaml b/.gitea/workflows/workflow.yaml index c97e3bf..318bdda 100644 --- a/.gitea/workflows/workflow.yaml +++ b/.gitea/workflows/workflow.yaml @@ -4,7 +4,13 @@ on: [push] jobs: test: - container: offline-twitter/go + container: + image: offline-twitter/go + volumes: + - woodpecker-gocache:/go-cache-volume + environment: + - GOPATH=/go-cache-volume + - GOCACHE=/go-cache-volume/build-cache steps: - name: checkout uses: https://${{ secrets.GITHUB_TOKEN }}:@git.offline-twitter.com/offline-labs/shellcheckout@${{ github.ref }}