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

CI pipeline cache dependencies #4258

Closed
1 task done
waynehamadi opened this issue May 16, 2023 · 4 comments
Closed
1 task done

CI pipeline cache dependencies #4258

waynehamadi opened this issue May 16, 2023 · 4 comments

Comments

@waynehamadi
Copy link
Contributor

Duplicates

  • I have searched the existing issues

Summary 💡

Cache dependencies in ci pipeline:

- name: Cache pip
  uses: actions/cache@v2
  with:
    path: ~/.cache/pip
    key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
    restore-keys: |
      ${{ runner.os }}-pip-

- name: Install dependencies
  run: |
    python -m pip install --upgrade pip
    pip install -r requirements.txt

can really matter once people run challenges, an immediate feedback loop to see challenge results can really improve user experience.

Examples 🌈

No response

Motivation 🔦

No response

@BaseInfinity
Copy link
Contributor

I'm def interested in this and seems like an easy win.

One thing to keep in mind is that there will be overhead of Uploading/Downloading the cache so we might shave maybe like 10-20 seconds but over time as the repo grows, the gains will grow as well if that makes sense

@waynehamadi
Copy link
Contributor Author

#4488

@github-actions
Copy link
Contributor

github-actions bot commented Sep 6, 2023

This issue has automatically been marked as stale because it has not had any activity in the last 50 days. You can unstale it by commenting or removing the label. Otherwise, this issue will be closed in 10 days.

@github-actions github-actions bot added the Stale label Sep 6, 2023
@github-actions
Copy link
Contributor

This issue was closed automatically because it has been stale for 10 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants