ci: go cache

This commit is contained in:
Tine 2024-06-03 21:34:39 +02:00 committed by Tine Jozelj
parent a3ff067d72
commit 1d4f7c0f91

View file

@ -47,6 +47,16 @@ jobs:
type=semver,pattern={{major}}
type=sha
- name: Setup Golang cache
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Build binaries
run: devbox run -- just build-bin