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

Contributing and CI Improvements #292

Merged
merged 2 commits into from
Sep 12, 2023
Merged

Contributing and CI Improvements #292

merged 2 commits into from
Sep 12, 2023

Conversation

2bndy5
Copy link
Collaborator

@2bndy5 2bndy5 commented Sep 10, 2023

Based on some discussion in #284

@jbms
Copy link
Owner

jbms commented Sep 12, 2023

The contributing guidelines look good. As for the CI changes --- caching, via the github actions cache, is a bit tricky, because we need a key that will change if the set of fonts to be downloaded will change. It is not clear what we would hash to obtain such a key.

@2bndy5
Copy link
Collaborator Author

2bndy5 commented Sep 12, 2023

I just create a cache that's specific to the workflow run (and OS); it can't be re-used on a subsequent run but can be reused on re-run of failed jobs. If different fonts are specified, then I'd expect the google_fonts module to pick up on what is missing and download what it needs (even using the font cache).

@2bndy5 2bndy5 marked this pull request as ready for review September 12, 2023 04:40
@2bndy5 2bndy5 merged commit 52384ce into main Sep 12, 2023
58 checks passed
@2bndy5 2bndy5 deleted the contributing-ci-improvements branch September 12, 2023 04:41
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