diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 8620586..4828fab 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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