Skip to content

Commit

Permalink
Cache go vendors in CI diff preview action
Browse files Browse the repository at this point in the history
  • Loading branch information
K-Phoen committed Oct 18, 2024
1 parent 48264b5 commit 8c26aa2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/grafana-foundation-sdk-diff-preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,15 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Restore go vendors
uses: actions/cache@v4
with:
path: |
vendor
key: go-deps-${{ runner.os }}-primes-${{ hashFiles('go.sum') }}
restore-keys: |
go-deps-${{ runner.os }}
- name: Install devbox
uses: jetify-com/[email protected]
with:
Expand Down

0 comments on commit 8c26aa2

Please sign in to comment.