diff options
| author | Dax Raad <[email protected]> | 2025-11-11 01:31:13 -0500 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-11-11 01:31:24 -0500 |
| commit | 12892f0e1295ce74b3b145645d6531ec8edb5098 (patch) | |
| tree | 44b3aab272bc9fffe4acffa13c3d86a83d99d85b /.github/actions | |
| parent | 9714a3558e454ffa4735d2e76cba027b15d25e5d (diff) | |
| download | opencode-12892f0e1295ce74b3b145645d6531ec8edb5098.tar.gz opencode-12892f0e1295ce74b3b145645d6531ec8edb5098.zip | |
ci: improve bun caching to invalidate when bun version changes in package.json
Diffstat (limited to '.github/actions')
| -rw-r--r-- | .github/actions/setup-bun/action.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/actions/setup-bun/action.yml b/.github/actions/setup-bun/action.yml index 6ac059528..784ebb173 100644 --- a/.github/actions/setup-bun/action.yml +++ b/.github/actions/setup-bun/action.yml @@ -8,9 +8,9 @@ runs: uses: actions/cache@v4 with: path: ~/.bun - key: ${{ runner.os }}-bun-${{ hashFiles('bun.lockb', 'bun.lock') }} + key: ${{ runner.os }}-bun-${{ hashFiles('package.json') }}-${{ hashFiles('bun.lockb', 'bun.lock') }} restore-keys: | - ${{ runner.os }}-bun- + ${{ runner.os }}-bun-${{ hashFiles('package.json') }}- - name: Setup Bun uses: oven-sh/setup-bun@v2 |
