-
-
Notifications
You must be signed in to change notification settings - Fork 111
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 basic GitHub Actions configuration #165
Conversation
Looks like we might need to move to go modules in order for this to work. @taylorjdawson, is this something I could assign to you? |
@lthibault yes please! |
@lthibault What do you envision for this PR? I am thinking we should get rid of all top lvl .go files and put everything into either a Let me know how that sounds |
This is to be the first step in the cleanup that Ross brought up, here (in his P.S.). As such, I'd rather keep this PR small and focused. The goal would therefore be to "just" set up GitHub actions for this repository such that This should be pretty straightforward. The only intermediate step I see is that GitHub Actions seems to require Go projects to have a So basically, the steps are:
And that's it! Regarding the restructuring of the repo, that's something we should discuss in another issue, or in Slack. The community is split around the question of whether top-level I'm generally in favor of doing a big code-quality sprint on this repo, but I think it would be wise to hold off on that until we get fully oriented, and have some basic safety-nets in place (e.g. improved CI, fixes for currently-broken tests, and perhaps even more test coverage). |
@lthibault excellent thank you for the information, I do as you said and check with the go docs to make sure everything is in order 👌 |
is this expected? |
Co-authored-by: Ross Light <[email protected]>
Co-authored-by: Ross Light <[email protected]>
Co-authored-by: Ross Light <[email protected]>
@zenhack Should be good to go. I've removed the |
@lthibault, I went into travis and disabled builds for this repository; hopefully that will help. |
@zenhack Are we good to merge this? |
I think we should get it to pass first. Also, I think you want to delete |
Ok. I think this requires merging in #169 due to GitHub Actions expecting a Go module, so I'll start with that. |
Makes sense -- so we could either wait until that's merged and then hopefully that will fix CI, or we could merge this as-is, and then merge master back into #169 and confirm that CI passes before merging that one. I'm fine with either approach. |
How do you feel about merging It seems like |
We should probably tag another 2.x release before that, and I have some questions regarding what promises we're making re: API stability; there are a number of open issues for 3.0, and some of them require breaking compatiblity: https://github.com/capnproto/go-capnproto2/milestone/1 |
Agreed.
What did you have in mind? My thinking is that stability promises are perfectly captured by SemVer tagging, so users can rely on that if they want to avoid breaking changes. As a result, we can just merge |
Fair enough -- particularly since we've changed the import path I guess we can just consider the API unstable until we tag it. But in that case we should probably change the API Compatiblity section in the README to make it clear that master is a not-yet-stabilized version. |
N.B.: merged this into |
As per previous discussion, here is a slightly modified version of the default Go configuration for GitHub Actions. It makes the following changes:
v3
branch, since most work is taking place there for the time being.