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

Upgrade golangci-lint to latest release (1.19.1) #141

Merged
merged 2 commits into from
Sep 27, 2019

Conversation

alessio
Copy link
Contributor

@alessio alessio commented Sep 25, 2019

  • Linked to github-issue with discussion and accepted design OR link to spec that describes this work.
  • Wrote tests
  • Updated relevant documentation (docs/)
  • Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
  • Reviewed Files changed in the github PR explorer

For Admin Use:

  • Added appropriate labels to PR (ex. wip, ready-for-review, docs)
  • Reviewers Assigned
  • Squashed all commits, uses message "Merge PR #XYZ: [title]" (coding standards)

Copy link
Contributor

@alexanderbez alexanderbez left a comment

Choose a reason for hiding this comment

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

Instead of pinning to a specific version, why not just use go get ...@latest?

@alessio
Copy link
Contributor Author

alessio commented Sep 25, 2019

Instead of pinning to a specific version, why not just use go get ...@latest?

Thanks for the question @alexanderbez, I apologise for not providing a rationale beforehand. The reason behind this approach is that go getting golangci-lint would cause go.{mod,sum} to be polluted with dependencies that are not necessary to build gaia.

@alexanderbez
Copy link
Contributor

Instead of pinning to a specific version, why not just use go get ...@latest?

Thanks for the question @alexanderbez, I apologise for not providing a rationale beforehand. The reason behind this approach is that go getting golangci-lint would cause go.{mod,sum} to be polluted with dependencies that are not necessary to build gaia.

Correct sir, hence for runsim we (cd /tmp && go get ...). We should do the same here.

@alessio
Copy link
Contributor Author

alessio commented Sep 26, 2019

I'm unsure. $TMPDIR is defined in Make's manual though it's on the makefile to ensure it exists beforehand. I've updated the installer script to automatically detect and download golangci-lint's latest release instead. Please have a look @alexanderbez

@codecov-io
Copy link

Codecov Report

Merging #141 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #141   +/-   ##
=======================================
  Coverage   66.05%   66.05%           
=======================================
  Files           5        5           
  Lines         492      492           
=======================================
  Hits          325      325           
  Misses        136      136           
  Partials       31       31

Copy link
Contributor

@alexanderbez alexanderbez left a comment

Choose a reason for hiding this comment

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

testedACK

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.

3 participants