diff --git a/.github/workflows/monorepo-go.yml b/.github/workflows/monorepo-go.yml index ba9a70ff..5cb6cd2d 100644 --- a/.github/workflows/monorepo-go.yml +++ b/.github/workflows/monorepo-go.yml @@ -20,6 +20,17 @@ jobs: - name: Install devbox uses: jetpack-io/devbox-install-action@v0.7.0 + with: + enable-cache: true + + - name: Mount golang cache + uses: actions/cache@v3 + with: + path: | + ~/.cache/golangci-lint + ~/.cache/go-build + ~/go/pkg + key: ${{ runner.os }}-${{ hashFiles('go.work.sum') }} - name: Go modules should be up-to-date run: |