feat: add cache restor key
Some checks failed
CI / check and test (pull_request) Has been cancelled

This commit is contained in:
2024-04-01 13:00:07 +02:00
parent 26f9c2b111
commit fea5dd02eb

View File

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