Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow opting out of caching $CARGO_HOME/bin. #216

Merged
merged 7 commits into from
Dec 10, 2024

Conversation

benjyw
Copy link
Contributor

@benjyw benjyw commented Oct 30, 2024

This prevents wiping the bin directory, which is harmful
on long-lived self-hosted runners, as it will nuke
rustup, rustc, cargo and so on.

Prevents wiping the bin directory, which is harmful for
self-hosted runners.
Fix a few whitespace nits.
This was done with:

`ncc build --target es2020 -o dist/restore src/restore.ts && ncc build --target es2020 -o dist/save src/save.ts && linefix dist`

Which I hope is correct.
@benjyw
Copy link
Contributor Author

benjyw commented Dec 8, 2024

Thanks for the review! I tweaked slightly, handled the merge conflict, and regenerated the files under dist/, which I hope I did correctly. I used:

ncc build --target es2020 -o dist/restore src/restore.ts && ncc build --target es2020 -o dist/save src/save.ts && linefix dist

Is that correct?

@Swatinem
Copy link
Owner

Swatinem commented Dec 9, 2024

That didn’t seem to have been correct.
I think its okay if you remove the last commit regenerating the file. I will then merge without the dist update, and I can do the rest locally before I tag a new release.

@benjyw
Copy link
Contributor Author

benjyw commented Dec 9, 2024

Done, thanks!

@Swatinem Swatinem merged commit e8e63cd into Swatinem:master Dec 10, 2024
22 checks passed
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.

2 participants