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

feat: Add Github actions CI #8

Merged
merged 6 commits into from
Jun 18, 2021
Merged

feat: Add Github actions CI #8

merged 6 commits into from
Jun 18, 2021

Conversation

ashish493
Copy link
Member

@ashish493 ashish493 commented Jun 17, 2021

Fix: #7

@hsluoyz ,
Added the CI for build, lints, tests and for semantic release.
Added goreportcard,coverall and CI build badges for Readme
Fixed the minor bugs.

As of now, build is passing successfully. However, the lints are failing because of some tests related issues. I also have to add an e2e test to check complete working of our application.

I will be doing these tasks in my next PR.

Signed-off-by: Ashish Malik <b218008@iiit-bh.ac.in>
Signed-off-by: Ashish Malik <b218008@iiit-bh.ac.in>
Signed-off-by: Ashish Malik <b218008@iiit-bh.ac.in>
Signed-off-by: Ashish Malik <b218008@iiit-bh.ac.in>
Signed-off-by: Ashish Malik <b218008@iiit-bh.ac.in>
README.md Show resolved Hide resolved
main.go Outdated
@@ -5,11 +5,12 @@ import (
"crypto/tls"
"flag"
"fmt"
"github.com/golang/glog"
Copy link
Member

Choose a reason for hiding this comment

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

sort imports

server.go Show resolved Hide resolved
server.go Outdated Show resolved Hide resolved
server.go Show resolved Hide resolved
Signed-off-by: Ashish Malik <b218008@iiit-bh.ac.in>
@ashish493
Copy link
Member Author

ashish493 commented Jun 18, 2021

Made the necessary changes!

I used the gofmt to style the code, but still it is showing that it is not yet formatted in the goreportcard- https://goreportcard.com/report/github.com/ashish493/k8s-authz

@ashish493 ashish493 requested a review from hsluoyz June 18, 2021 05:14
@hsluoyz
Copy link
Member

hsluoyz commented Jun 18, 2021

@ashish493 goreportcard is too slow at my side. And I don't think it's 100% correct. Let's merge first and see how it goes.

@hsluoyz hsluoyz merged commit 3560551 into casbin:master Jun 18, 2021
@ashish493
Copy link
Member Author

@ashish493 goreportcard is too slow at my side. And I don't think it's 100% correct. Let's merge first and see how it goes.

Yeah, its really very slow. Also, the CI badge is not rendered properly, I will replace it in the next PR.

@github-actions
Copy link

github-actions bot commented Jul 7, 2021

🎉 This PR is included in version 1.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add GitHub Actions CI to run the tests
2 participants