-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Introduce Go Modules to tooling #1901
Conversation
Thanks for your help @aaomidi. I will need to ask you a change. Please move the |
@weppos thanks for the feedback! Is this what you intended? |
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.
LGTM, thank you.
Co-authored-by: Daniel McCarney <[email protected]>
FWIW, I am unable to run the tests locally with that command.
I am instead if I run it from the tools folder:
|
It seems that Go requires the
Worked fine for me. |
Sorry that my suggestion ended up causing headaches. Does that mean the list/.github/workflows/tld-update.yml Lines 28 to 29 in 2d1427a
|
Ah yeah, seems like it. I'll create a quick PR to fix that. And no problem! I honestly wasn't expecting Go to care about flag order like this. |
It still doesn't work in my system. I'll try to figure out why.
Don't worry. Actually, it seems to work on the CI. For some reason, my local env doesn't like it. |
Actually, online as well is broken. 😅 I'll look into the PR @aaomidi |
Solves #1897 - also spoken of here: #1325 (comment).
I initially added this with go workspaces, but turns out those aren't actually meant to be pushed (even though, in this specific scenario, they made the commands a little bit cleaner).
I've made sure that none of the existing workflows fail with this change.
I've moved the go tools outside of
tools
. This wasn't absolutely necessary but I didn't want the bash scripts and the go module to live in the same directory -- I think it would've added additional long term cost to keep them in the same directory.I've updated all the github actions workflows to keep working with the new layout.
make test
: