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

chore(actions): check uncomitted go source code changes #292

Merged
merged 2 commits into from
Jan 21, 2021

Conversation

JGAntunes
Copy link
Contributor

@JGAntunes JGAntunes commented Jan 21, 2021

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.

@netlify
Copy link

netlify bot commented Jan 21, 2021

Deploy preview for open-api ready!

Built with commit 08798c8

https://deploy-preview-292--open-api.netlify.app

@github-actions github-actions bot added the type: chore work needed to keep the product and development running smoothly label Jan 21, 2021
@JGAntunes JGAntunes force-pushed the chore/actions-verify-go branch from 2e9b4da to 08798c8 Compare January 21, 2021 15:48
@JGAntunes JGAntunes marked this pull request as ready for review January 21, 2021 15:48
@JGAntunes JGAntunes requested a review from a team as a code owner January 21, 2021 15:48
@JGAntunes JGAntunes requested a review from erezrokah January 21, 2021 15:48
Copy link
Contributor

@erezrokah erezrokah left a 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.

Copy link
Contributor

@keiko713 keiko713 left a 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! 👍

Copy link
Contributor

@mraerino mraerino left a 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]
Copy link
Contributor

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?

Copy link
Contributor Author

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?

@JGAntunes JGAntunes merged commit a89cbcc into master Jan 21, 2021
@JGAntunes JGAntunes deleted the chore/actions-verify-go branch January 21, 2021 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: chore work needed to keep the product and development running smoothly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants