Open
Description
What happened?
I am trying to use Devbox with GitHub Actions to install the necessary dependencies while utilizing a cache. I have observed that after installing the packages, Devbox updates its lock file. The caching logic generates a key based on the hash of the lock file, which results in different cache keys being used for the restore and save phases.
Steps to reproduce
- utilize official github action
- add "any" package to devbox
- commit all devbox files to repo
Here is the minimum reproducible repository: https://github.com/alezkv/devbox-action-repro
and run: https://github.com/alezkv/devbox-action-repro/actions/runs/13944472596/job/39028390051
Command
run
devbox.json
Devbox version
0.14.0
Nix version
2.26.2
What system does this bug occur on?
Other (please include in the description above)
Debug logs
No response