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

Check input for empty directories #62

Merged
merged 3 commits into from
Aug 21, 2024
Merged

Check input for empty directories #62

merged 3 commits into from
Aug 21, 2024

Conversation

emcfarlane
Copy link
Collaborator

@emcfarlane emcfarlane commented Aug 2, 2024

To provide better errors we can map some of the buf errors to config issue errors. It's easy to miss the - uses: actions/checkout@v4 step, provide an annotation to help resolve issues. This adds an info log:

/opt/hostedtoolcache/buf/1.35.0/x64/buf build --error-format github-actions
Failure: "." had no .proto files
+Did you forget to add the "actions/checkout@v4" checkout step to your workflow?
Error: Failed build

This comment has been minimized.

README.md Outdated Show resolved Hide resolved
src/main.ts Outdated Show resolved Hide resolved
@emcfarlane emcfarlane merged commit 5210588 into main Aug 21, 2024
36 checks passed
@emcfarlane emcfarlane deleted the ed/checkInputDir branch August 21, 2024 13:59
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