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

Remove dep pkg manager and excess CI steps #344

Merged
merged 2 commits into from
Jan 20, 2022

Conversation

NathanielRN
Copy link
Contributor

@NathanielRN NathanielRN commented Jan 18, 2022

Description

Thanks for bringing this issue up @anuraaga ! I looked through old PRs like #90 and read your description to come up with this PR to remove dep.

One concern I have was that you said we could

> for example #265 becomes trivial to solve by compressing our build down to a single command.

so I looked at how we ended up fixing #265 in #267 and noticed these lines:

go version
echo "GOPATH=${{ github.workspace }}" >> $GITHUB_ENV
echo "${{ github.workspace }}/bin" >> $GITHUB_PATH

I'm not too familiar with go, but does removing dep mean we don't need these lines anymore?

Actually I just tested this on my own branch on my fork and it works fine so I will remove these lines. Please let me know if I'm wrong!

Also when you say

by compressing our build down to a single command.

Did I do that correctly in this PR because we only have go help download now?

If it would be more convenient to link me to dep documentation where I can verify this is not needed please feel free to do that!

Did a final test with all your comments and the test still passes on my fork. This change should drop the size of the CI a lot!

Fixes #266

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@NathanielRN NathanielRN requested a review from anuraaga January 18, 2022 22:08
@NathanielRN NathanielRN requested a review from a team as a code owner January 18, 2022 22:08
go version
echo "GOPATH=${{ github.workspace }}" >> $GITHUB_ENV
echo "${{ github.workspace }}/bin" >> $GITHUB_PATH

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left this space because my VSCode IDE only does correct syntax highlighting for the comment if I have this space here... let me know if this is undesirable!

@NathanielRN NathanielRN changed the title Remove dep pkg manager tool Remove dep pkg manager and excess CI steps Jan 19, 2022
@NathanielRN NathanielRN requested a review from anuraaga January 19, 2022 19:34
@NathanielRN NathanielRN merged commit 0532644 into aws:master Jan 20, 2022
@NathanielRN NathanielRN deleted the remove-dep-tool branch January 20, 2022 00:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove support for dep
2 participants