Skip to content

fix(ci): use bun.lock in setup-bun cache key#16364

Closed
SergioChan wants to merge 1 commit intoanomalyco:devfrom
SergioChan:fix/setup-bun-lockfile-cachekey-16289
Closed

fix(ci): use bun.lock in setup-bun cache key#16364
SergioChan wants to merge 1 commit intoanomalyco:devfrom
SergioChan:fix/setup-bun-lockfile-cachekey-16289

Conversation

@SergioChan
Copy link

@SergioChan SergioChan commented Mar 6, 2026

Issue for this PR

Closes #16289

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

  • updates .github/actions/setup-bun/action.yml to hash bun.lock instead of bun.lockb
  • aligns the cache key with the current Bun lockfile name
  • prevents stale cache misses caused by hashing a deprecated lockfile path

How did you verify your code works?

  • confirmed the repository lockfile exists (bun.lock)
  • verified the setup-bun action now references hashFiles('**/bun.lock')

Screenshots / recordings

Not a UI change.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@github-actions github-actions bot added needs:compliance This means the issue will auto-close after 2 hours. needs:issue labels Mar 6, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Mar 6, 2026

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions github-actions bot removed needs:compliance This means the issue will auto-close after 2 hours. needs:issue labels Mar 6, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Mar 6, 2026

Thanks for updating your PR! It now meets our contributing guidelines. 👍

@github-actions
Copy link
Contributor

github-actions bot commented Mar 6, 2026

The following comment was made by an LLM, it may be inaccurate:

⚠️ Potential Duplicate Found

PR #16291: "fix(ci): use bun.lock as caching key instead of deprecated bun.lockb"
#16291

Why they're related:

Recommendation: Check if PR #16291 is already merged or in progress before proceeding with PR #16364.

@SergioChan
Copy link
Author

Closing this as duplicate of #16291, which is already open for the same issue (#16289).

@SergioChan SergioChan closed this Mar 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

setup-bun action uses incorrect cache key

1 participant