Skip to content

Update caching#1509

Merged
classiqdor merged 1 commit intomainfrom
update_ci_caching
Mar 5, 2026
Merged

Update caching#1509
classiqdor merged 1 commit intomainfrom
update_ci_caching

Conversation

@classiqdor
Copy link
Contributor

mainly: change restore-keys to be more restrictive,
thus having less usage of old cache when it's not needed.

Additionally

  • change cache key name from os - hash - classiq version to os - classiq version - hash
  • create venv, and cache it
    • instead of caching pip
    • thus we're not caching installation files
    • only caching what's necessary
    • and so reducing cache size
  • changed pip install -r line to have both files in one line
    • to reduce the load on the dependency solver
  • changed "get-classiq-version" to run python

mainly: change `restore-keys` to be more restrictive,
thus having less usage of old cache when it's not needed.

Additionally
- change cache key name from `os - hash - classiq version` to `os - classiq version - hash`
- create venv, and cache it
  - instead of caching pip
  - thus we're not caching installation files
  - only caching what's necessary
  - and so reducing cache size
- changed `pip install -r` line to have both files in one line
  - to reduce the load on the dependency solver
- changed "get-classiq-version" to run python
@classiqdor classiqdor merged commit 2cfdc13 into main Mar 5, 2026
8 checks passed
@classiqdor classiqdor deleted the update_ci_caching branch March 5, 2026 13:07
@github-actions
Copy link

github-actions bot commented Mar 5, 2026

🏆 Incredible, @classiqdor! You've merged your 60th PR! 🎯🎊

Your ongoing commitment to classiq-library is truly remarkable. You're a driving force in our community! 🚀
Your contributions are helping to shape the future of quantum computing! What exciting features or improvements do you envision next? 🔮

We are grateful for your dedication! 💫

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