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(cache): cache deps for CI workflows #147

Merged
merged 1 commit into from
Nov 21, 2023
Merged

ci(cache): cache deps for CI workflows #147

merged 1 commit into from
Nov 21, 2023

Conversation

tthvo
Copy link
Contributor

@tthvo tthvo commented Nov 21, 2023

Welcome to PrivacyPal! 👋

Fixes: #146

Description of the change:

Cache dependencies for CI. This enable resuable cache if cache is hit (i.e. deps manifest files have not changed).

Motivation for the change:

Caching allows quicker CI runs by avoiding fresh installation of deps.

@tthvo tthvo added feat New feature or request ci CI/Github Actions labels Nov 21, 2023
@tthvo tthvo self-assigned this Nov 21, 2023
Signed-off-by: Thuan Vo <thuan.votann@gmail.com>
@tthvo
Copy link
Contributor Author

tthvo commented Nov 21, 2023

Caches: https://github.com/COSC-499-W2023/year-long-project-team-1/actions/caches

Caches are scoped to git ref. Cache on default branch will be available to all refs.

Copy link
Contributor

@MyStackOverflows MyStackOverflows left a comment

Choose a reason for hiding this comment

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

looks great, good QOL improvement

@tthvo tthvo removed the request for review from connordoman November 21, 2023 07:46
@tthvo tthvo merged commit 2e57564 into develop Nov 21, 2023
7 checks passed
@tthvo tthvo deleted the gh-146-ci-cache branch November 21, 2023 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci CI/Github Actions feat New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants