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

github: add Github Actions workflow for tests; support in vet.sh #4005

Merged
merged 35 commits into from Oct 30, 2020

Conversation

dfawley
Copy link
Member

@dfawley dfawley commented Oct 30, 2020

No description provided.


# Run the vet checks.
- name: vet
run: ./vet.sh -install && ./vet.sh
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This workflow runs vet (gofmt/golint...) twice now.
Should we move the proto regen part out to it's own job?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was thinking as a follow-up change I would add an option to vet to make it ONLY run the proto checks. WDYT?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SG.

Do the proto checks need anything from vet.sh? Or just move it to a separate .sh

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They both need the checks up front to make sure your branch is clean & revert any changes it makes to it.

I would probably keep them together to support the "running offline" use-case better. VET_ONLY_PROTO=1 or something?

.github/workflows/testing.yml Show resolved Hide resolved
@dfawley dfawley closed this Oct 30, 2020
@dfawley dfawley reopened this Oct 30, 2020
@dfawley dfawley merged commit f4d9cca into grpc:master Oct 30, 2020
davidkhala pushed a commit to Hyperledger-TWGC/grpc that referenced this pull request Dec 7, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants