Merge pull request 'ci: cache Go build artifacts between runs' (#22) from chore/ci-cache into main
Reviewed-on: lerko/uptime#22
This commit was merged in pull request #22.
This commit is contained in:
@@ -18,6 +18,12 @@ jobs:
|
||||
with:
|
||||
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
|
||||
run: apk add --no-cache gcc musl-dev
|
||||
|
||||
|
||||
Reference in New Issue
Block a user