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

Downloading buildifier binary in CI sometimes fails #13

Open
seungduk-yanolja opened this issue Feb 7, 2023 · 3 comments
Open

Downloading buildifier binary in CI sometimes fails #13

seungduk-yanolja opened this issue Feb 7, 2023 · 3 comments

Comments

@seungduk-yanolja
Copy link

The download URL is specified as like this: https://github.com/bazelbuild/buildtools/releases/download/$version/$filename
Not sure if this URL is stable. Please see the following.
community/community#8535
The error message was,

buildifier...............................................................Failed

- hook id: buildifier

- exit code: 1



error: failed to download buildifier



script returned exit code 1
@seungduk-yanolja
Copy link
Author

Looks like it was a temporary issue. However, can we set the repo of the binary as an argument instead?

@keith
Copy link
Owner

keith commented Feb 13, 2023

it should be stable after that revert, but yea if you want to accept an arg for this i'd be happy to accept PRs!

@louwers
Copy link

louwers commented May 13, 2023

Ran into this as well. My workaround was to skip buildifier on CI for now.

https://results.pre-commit.ci/run/github/314553426/1683968491.-gwlEE0eRPK-JDTGk5y_uQ

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

No branches or pull requests

3 participants