-
Notifications
You must be signed in to change notification settings - Fork 89
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
chore(actions): check uncomitted go source code changes #292
Conversation
Deploy preview for open-api ready! Built with commit 08798c8 |
2e9b4da
to
08798c8
Compare
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.
This looks good to me, but going to delegate the .gitignore
changes to backend.
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.
I remember that @erezrokah and I were talking about these swagger_*.json files the other day for what to do. I think it's safe to add them to .gitignore
, so looks good! 👍
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.
awesome!
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
go_version: [1.14.x] |
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.
latest is 1.15
, do we want to use that?
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.
Happy to do it, but maybe in that case we should also add it to our Test
action - https://github.com/netlify/open-api/blob/master/.github/workflows/test.yml#L34?
This picks up on what has been discussed on #285 and adds a step to verify that the go client is up to date and the files have been checked in (once again based on work @erezrokah did in the CLI 🙏 ). I've tested it in this PR by making some changes to
swagger.yml
file and not generating a new client - https://github.com/netlify/open-api/runs/1742899676?check_suite_focus=true. - seems solid 😄I've also added two files to the
.gitignore
, which I believe are only used as helpers when generating the go glient and don't need to be checked in. Do tell me if that is not the case though.