-
Notifications
You must be signed in to change notification settings - Fork 11
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 actions for go fmt, test #21
Conversation
go.mod
Outdated
@@ -4,7 +4,6 @@ go 1.17 | |||
|
|||
require ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, do we need a go.mod
here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh, this was messing up go fmt, but I guess it does belong in a different pr
954ffb6
to
e29dbc0
Compare
Can I get a review/approval @sudo-bmitch, @trishankatdatadog? You can see the workflow in action here: mnm678#6. It fails on newer go versions, which I'll fix in another pr. |
72d454b
to
945a495
Compare
Signed-off-by: Marina Moore <[email protected]>
945a495
to
912d223
Compare
Belated review from me, but I also noticed that the actions tab didn't populate, so it got my attention. I think the path needs to be I can probably get a PR with these later this week since they're pretty standard in my projects. |
|
Thanks @sudo-bmitch, I opened #23 to add the s, but it still doesn't seem to run the action? My thought was that the |
That would likely go ignored, the return code is 0 even when formatting needs to be fixed. At most you see a filename that was updated in the output, which requires someone to double check that output on every run. Unless we're doing something I'm missing to ensure there's no files changed by |
Solves #16