ci: cache Go build artifacts between runs
This commit is contained in:
@@ -18,6 +18,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
go-version: "1.24"
|
go-version: "1.24"
|
||||||
|
|
||||||
|
- uses: actions/cache@v4
|
||||||
|
with:
|
||||||
|
path: ~/.cache/go-build
|
||||||
|
key: go-build-${{ hashFiles('**/*.go', 'go.sum') }}
|
||||||
|
restore-keys: go-build-
|
||||||
|
|
||||||
- name: Install build tools
|
- name: Install build tools
|
||||||
run: apk add --no-cache gcc musl-dev
|
run: apk add --no-cache gcc musl-dev
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user