ci: go cache

This commit is contained in:
Tine 2024-06-03 21:34:39 +02:00
parent a7f33a4126
commit bc4d1152e1
Signed by: mentos1386
SSH key fingerprint: SHA256:MNtTsLbihYaWF8j1fkOHfkKNlnN1JQfxEU/rBU8nCGw

View file

@ -47,6 +47,16 @@ jobs:
type=semver,pattern={{major}} type=semver,pattern={{major}}
type=sha 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 - name: Build binaries
run: devbox run -- just build-bin run: devbox run -- just build-bin