This release fixes some issues that led to the creation and use of corrupted caches.
For reasons explained in #283 this action always saved the cache after each run. Now the cache is only uploaded when the whole run is a success which should prevent the upload of .venv which is not fully populated and/or corrupted.
Moreover after a successful cache restore we now check if the restored .venv was created in the exact same path as the current path. If this is not the case it can lead to undefined behavior as explained in #287. Therefore we now discard the cache in this case and do not set the cache-hit output to true.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps eifinger/setup-rye from 3 to 4.
Release notes
Sourced from eifinger/setup-rye's releases.
... (truncated)
Commits
7e1ae83
chore: update checksums (#292)3106e80
Update dependencies (#288)2f84df7
Check for wrong venv path in cache (#287)128f1f6
Remove duplicate message on local cache miss (#285)8cb6833
Do not create config backup on restorec5f9dab
Overwrite the cached venv path in rye-venv.json062a31d
Only save cache when run succeededd5ce775
Remove obsolete test for uv enabled957d97b
Distinguish cache and tools-cache in log message (#282)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show