Skip to content

(community) : Fix GitHub Actions lint failure #807

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

asimchoudhary
Copy link
Contributor

The GitHub Actions CI workflow was failing during the testing of this pr : #805
make: *** [Makefile:38: lint_package] Error 1

This failure occurred because the mkdir $(MYPY_CACHE) command returns a non-zero exit code when the directory already exists. While this behavior is silently ignored in local development environments
image

but GitHub Actions treats it as a failure and stops the workflow.

Solution

Added the -p flag to the mkdir command:

🐛 Bug Fix

Signed-off-by: asim <[email protected]>
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.

2 participants