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

Add check_protos workflow to validate that all .proto files in the repo are valid #2

Merged
merged 15 commits into from
Nov 9, 2023

Conversation

dixonjoel
Copy link
Collaborator

What does this Pull Request accomplish?

Runs a script on the PR to validate that all .proto files can compile with protoc.

Why should this Pull Request be merged?

Ensure that .proto files checked in have a valid format and that they have their dependencies met for their imports in the repo.

What testing has been done?

None. This PR should run the check_protos workflow and it should fail until we add some dependent .protos into the repo.

.github/check_protos/pyproject.toml Outdated Show resolved Hide resolved
.github/check_protos/_check_protos.py Outdated Show resolved Hide resolved
.github/check_protos/_check_protos.py Outdated Show resolved Hide resolved
.github/workflows/pr.yml Outdated Show resolved Hide resolved
ni/grpcdevice/v1/README.md Outdated Show resolved Hide resolved
ni/grpcdevice/v1/README.md Outdated Show resolved Hide resolved
.github/check_protos/_check_protos.py Outdated Show resolved Hide resolved
.github/check_protos/_check_protos.py Outdated Show resolved Hide resolved
.github/check_protos/_check_protos.py Outdated Show resolved Hide resolved
@dixonjoel dixonjoel merged commit 249e8bf into main Nov 9, 2023
1 check passed
@dixonjoel dixonjoel deleted the users/jdixon/check-protos-workflow branch November 9, 2023 20:45
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