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 Github action to run CI on pull requests #37

Merged
merged 2 commits into from
Dec 15, 2020

Conversation

daxmc99
Copy link
Contributor

@daxmc99 daxmc99 commented Dec 12, 2020

I saw this project has a .golangci.yml file already. This should enable golangci-lint to run as part of pull requests.

Signed-off-by: Dax McDonald 31839142+daxmc99@users.noreply.github.com

Signed-off-by: Dax McDonald <31839142+daxmc99@users.noreply.github.com>
branches:
- '*'

jobs:
Copy link
Member

Choose a reason for hiding this comment

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

Can we unify build.yml into this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Unified, the golangci-lint should be in a separate step though since it utilizes caching to provide better performance.

Signed-off-by: Dax McDonald <31839142+daxmc99@users.noreply.github.com>
Copy link
Member

@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

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

Thanks

@AkihiroSuda AkihiroSuda merged commit 50a70f7 into containerd:master Dec 15, 2020
@daxmc99 daxmc99 deleted the add_ci branch December 15, 2020 02:14
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.

None yet

2 participants