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 }}