From fea5dd02eb01a1d8db09fabce6bad10077b54710 Mon Sep 17 00:00:00 2001 From: Timo Behrendt Date: Mon, 1 Apr 2024 13:00:07 +0200 Subject: [PATCH] feat: add cache restor key --- .gitea/workflows/ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index f5d9633..011cb85 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -13,8 +13,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - with: - fetch-depth: 0 # all history for all branches and tags - name: Setup go uses: actions/setup-go@v5 with: @@ -35,6 +33,8 @@ jobs: /go_path /go_cache key: go_path-${{ steps.hash-go.outputs.hash }} + restore-keys: |- + go_cache-${{ steps.hash-go.outputs.hash }} - name: build run: make build - name: test