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

feat: adds support to non-configurable caching on cache-audit #345

Merged
merged 2 commits into from
Dec 23, 2024

Conversation

ubiratansoares
Copy link
Contributor

Another follow-up for #334

Here we tweak a bit the models for CacheAwareAction, moving into to an enum an introducing Configurable and NotConfigurable variants.

The not-configurable variant covers Actions like Mozilla-Actions/sccache-action, which always cache/restore and does not provide control inputs / control values to disable caching.

I added a snapshot test convering this new use case. Added some docs on the semantics of CacheControlInput:OptIn and CacheControlInput:OptOut as well.

Copy link
Owner

@woodruffw woodruffw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ubiratansoares!

@woodruffw woodruffw enabled auto-merge (squash) December 23, 2024 00:01
@woodruffw woodruffw merged commit 6e4c340 into woodruffw:main Dec 23, 2024
5 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