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

Add CI cache versioning and restore-keys #507

Merged
merged 1 commit into from
Sep 22, 2022
Merged

Conversation

jonadaly
Copy link
Contributor

PR Checklist

  • Have you followed the guidelines in CONTRIBUTING.md?
  • Have you got 100% test coverage on new code?
  • Have you updated the prose documentation?
  • Have you updated the reference documentation?

Added a cache key prefix so that caches can be manually invalidated where necessary (the alternative is to use the GitHub REST API, but this could be quicker)

Also added some restore-keys so that we can fall back to older caches to speed up poetry installs (the poetry install command will still be run in these cases)

@sonarcloud
Copy link

sonarcloud bot commented Sep 22, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@jonadaly jonadaly merged commit 94ccd40 into main Sep 22, 2022
@jonadaly jonadaly deleted the ci-cache-invalidation branch September 22, 2022 11:12
@jonadaly jonadaly restored the ci-cache-invalidation branch September 22, 2022 11:13
@jonadaly jonadaly deleted the ci-cache-invalidation branch September 22, 2022 11:13
Alex-CodeLab pushed a commit to Alex-CodeLab/starlite that referenced this pull request Sep 30, 2022
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.

None yet

2 participants