Skip to content

Commit

Permalink
ci: go cache
Browse files Browse the repository at this point in the history
  • Loading branch information
mentos1386 committed Jun 3, 2024
1 parent a7f33a4 commit bc4d115
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit bc4d115

Please sign in to comment.