chore: Use local gcl to create custom gcl if on path - #4600
Conversation
Signed-off-by: Steve Hipwell <steve.hipwell@gmail.com>
You said what this is doing, but not why we need to use |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #4600 +/- ##
=======================================
Coverage 98.59% 98.59%
=======================================
Files 197 197
Lines 18326 18326
=======================================
Hits 18068 18068
Misses 258 258 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
@gmlewis I'd rather not run untrusted install scripts directly from the internet, especially when I've already got the binary on my machine. I've been manually working around this for a while now, but I was on the train yesterday on a new machine without a connection and had to mess around to get linting working so decided to fix it. |
|
Thank you, @Not-Dhananjay-Mishra! |
This PR updates the
setup-custom-gcl.shscript to use thegolangci-linton the path if it'sv2. It also updates thegolangci-lintconfig forgofumptto replace the deprecated settings with the latest pattern.