diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 34fe4a5..f5d9633 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -20,19 +20,20 @@ jobs: with: go-version-file: go.mod check-latest: true - - uses: https://gitea.com/actions/go-hashfiles@v0.0.1 + - name: Create cache key + uses: https://gitea.com/actions/go-hashfiles@v0.0.1 id: hash-go with: patterns: | go.mod - go.sum + go.sum - name: cache go id: cache-go uses: actions/cache@v4 with: path: | /go_path - /go_cache + /go_cache key: go_path-${{ steps.hash-go.outputs.hash }} - name: build run: make build