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

Cache poetry and dependencies steps and pin poetry version in config file #7

Merged
merged 7 commits into from
Aug 15, 2024

Conversation

georgeholt1
Copy link
Owner

Caching poetry installation and poetry environment setup steps in the ci-setup.

The poetry version is pinned using the config file: .github/actions/ci-setup/config.yml. If this file changes then this triggers a cache miss and a fresh installation of poetry is made.

The pyproject.toml file is used as the key for the Poetry environment setup, so there's a cache miss if the environment changes.

@georgeholt1 georgeholt1 merged commit 22c0f29 into main Aug 15, 2024
6 checks passed
@georgeholt1 georgeholt1 deleted the cache-ci-setup branch August 15, 2024 21:44
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.

1 participant