preslavmihaylov/todocheck

Run gofmt automatically on pull requests

Closed this issue · 3 comments

Extend the github actions to automatically run gofmt on every pull request to avoid styling issues resulting from people not having installed gofmt locally.

Please do assign this to me @preslavmihaylov

For now, we added a CI step which verifies that gofmt is ran locally to format all the necessary files

It seems it's not as trivial to make gofmt format your code on pull request. For now, we'll suffice with just verifying the format