-
Notifications
You must be signed in to change notification settings - Fork 430
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
Add caching of Python dependencies in GitHub action workflow #867
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
GitHub actions yielded the following error. The command that failed is
This is likely a linting or type-checking issue with the source code but if you are updating the GitHub Actions or versioning, this could be an issue with the GitHub Action yaml files. |
GitHub actions yielded the following error. The command that failed is
This is likely a linting or type-checking issue with the source code but if you are updating the GitHub Actions or versioning, this could be an issue with the GitHub Action yaml files. |
GitHub actions yielded the following error. The command that failed is
This is likely a linting or type-checking issue with the source code but if you are updating the GitHub Actions or versioning, this could be an issue with the GitHub Action yaml files. |
GitHub actions yielded the following error. The command that failed is
This is likely a linting or type-checking issue with the source code but if you are updating the GitHub Actions or versioning, this could be an issue with the GitHub Action yaml files. |
GitHub actions yielded the following error. The command that failed is
This is likely a linting or type-checking issue with the source code but if you are updating the GitHub Actions or versioning, this could be an issue with the GitHub Action yaml files. |
GitHub actions yielded the following error. The relevant lines from the logs corresponding to the error are:
The command that failed is This is likely a linting or type-checking issue with the source code but if you are updating the GitHub Actions or versioning, this could be an issue with the GitHub Action yaml files. |
GitHub actions yielded the following error. The command that failed is
This is likely a linting or type-checking issue with the source code but if you are updating the GitHub Actions or versioning, this could be an issue with the GitHub Action yaml files. |
GitHub actions yielded the following error. The command that failed is
This is likely a linting or type-checking issue with the source code but if you are updating the GitHub Actions or versioning, this could be an issue with the GitHub Action yaml files. |
GitHub actions yielded the following error. The command that failed is
This is likely a linting or type-checking issue with the source code but if you are updating the GitHub Actions or versioning, this could be an issue with the GitHub Action yaml files. |
GitHub actions yielded the following error. The command that failed is
This is likely a linting or type-checking issue with the source code but if you are updating the GitHub Actions or versioning, this could be an issue with the GitHub Action yaml files. |
GitHub actions yielded the following error. The command that failed is
This is likely a linting or type-checking issue with the source code but if you are updating the GitHub Actions or versioning, this could be an issue with the GitHub Action yaml files. |
Description
This PR adds caching of Python dependencies in the GitHub action workflow to speed up the build process. The caching step is added before the step that installs the Python dependencies. The cache key is based on the hash of the
pyproject.toml
file, which is the source of truth for dependencies in this project. If thepyproject.toml
file changes, the cache will be invalidated and the dependencies will be re-downloaded.Summary of Changes
pyproject.toml
filepyproject.toml
file changes, the cache will be invalidated and the dependencies will be re-downloadedFixes #866.
To checkout this PR branch, run the following command in your terminal: