mirror of
https://github.com/mentos1386/zdravko.git
synced 2024-11-22 07:43:33 +00:00
ci: go cache
This commit is contained in:
parent
a7f33a4126
commit
bc4d1152e1
1 changed files with 10 additions and 0 deletions
10
.github/workflows/build.yaml
vendored
10
.github/workflows/build.yaml
vendored
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue