-
Notifications
You must be signed in to change notification settings - Fork 102
Conversation
Codecov Report
@@ Coverage Diff @@
## master #631 +/- ##
==========================================
- Coverage 81.99% 80.45% -1.55%
==========================================
Files 105 101 -4
Lines 3955 3617 -338
==========================================
- Hits 3243 2910 -333
+ Misses 513 509 -4
+ Partials 199 198 -1
Continue to review full report at Codecov.
|
Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com>
Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com>
Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com>
Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com>
Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com>
Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com>
Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com>
Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com>
Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com>
Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com>
Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com>
Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com>
Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com>
Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com>
Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com>
Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com>
Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com>
Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com>
Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com>
Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com>
Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com>
Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com>
Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com>
# Conflicts: # pkg/commands/builder.go # pkg/formula/runner/inputs.go # pkg/formula/runner/local/runner_test.go
@henriquemoraeszup I fixed merged conflicts but I cannot fix DCO. Could you approve it without DCO check? |
@lcd1232 the dco is passing now =] |
pkg/cmd/add_repo.go
Outdated
@@ -177,7 +177,8 @@ func (ad addRepoCmd) runPrompt() CommandRunnerFunc { | |||
return err | |||
} | |||
|
|||
successMsg := fmt.Sprintf("The %q repository was added with success, now you can use your formulas with the Ritchie!", repository.Name) | |||
successMsg := fmt.Sprintf("The %q repository was added with success, "+ |
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.
What about identing like so
successMsg := fmt.Sprintf(
"The %q repository was added with success, now you can use your formulas with the Ritchie!",
repository.Name,
)
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.
Done
pkg/cmd/add_repo.go
Outdated
successMsg := fmt.Sprintf("The %q repository was added with success, "+ | ||
"now you can use your formulas with the Ritchie!", r.Name) |
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.
What about identing like so
successMsg := fmt.Sprintf("The %q repository was added with success, "+ | |
"now you can use your formulas with the Ritchie!", r.Name) | |
successMsg := fmt.Sprintf( | |
"The %q repository was added with success, now you can use your formulas with Ritchie!", | |
r.Name, | |
) |
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.
Done
@@ -34,12 +34,12 @@ const ( | |||
|
|||
var supportedShell = []string{zsh.String(), bash.String(), fish.String(), powerShell.String()} | |||
|
|||
// autocompleteCmd type for set autocomplete command | |||
// autocompleteCmd type for set autocomplete command. |
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.
How important is this rule to keep it? I feel this could become an experience barrier for users from the community making PRs to Ritchie to have to add periods in comments
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.
I tried to add this linter, but then I realized that I don't have enough patience to do this. Right now it's disabled. I can discard this change if you want.
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.
no, it is fine this way
pkg/cmd/metrics.go
Outdated
@@ -35,7 +35,9 @@ func NewMetricsCmd(file stream.FileWriteReadExister, inList prompt.InputList) *c | |||
func (m metricsCmd) run() CommandRunnerFunc { | |||
return func(cmd *cobra.Command, args []string) error { | |||
options := []string{"yes", "no"} | |||
choose, err := m.input.List("You want to send anonymous data about the product, feature use, statistics and crash reports?", options) | |||
choose, err := m.input.List("You want to send anonymous data "+ |
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.
How about newlining on the parenthesis?
choose, err := m.input.List(
...
)
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.
Done
pkg/formula/runner/docker/pre_run.go
Outdated
ErrDockerNotInstalled = errors.New("you must have the docker installed to run formulas inside it," + | ||
" check how to install it at: [https://docs.docker.com/get-docker]") | ||
ErrDockerImageNotFound = errors.New("config.json does not contain the" + | ||
" \"dockerImageBuilder\" field, to run this formula with docker add a docker image name to it") | ||
ErrDockerfileNotFound = errors.New("the formula cannot be executed inside the docker," + | ||
" you must add a \"Dockerfile\" to execute the formula inside the docker") |
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.
How about newlining on the parenthesis?
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.
Done
pkg/upgrade/url_finder.go
Outdated
return DefaultUrlFinder{version: version} | ||
} | ||
|
||
func (duf DefaultUrlFinder) Url(os string) string { | ||
func (duf DefaultUrlFinder) Url(os string) string { //nolint:stylecheck | ||
//stableVersion, err := resolver.StableVersion() |
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.
can we remove this commented code?
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.
Done
Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com>
Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com>
Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com>
# Conflicts: # pkg/cmd/formula.go # pkg/formula/input/prompt/prompt.go # pkg/formula/runner/local/runner_test.go
Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com>
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.
resp, err := sm.client.Do(req) | ||
if err != nil { | ||
return | ||
} |
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.
Do you can use _
in this err? and dont check if.
/merge qa |
🔥 Merge Conflict |
/merge qa |
👌 Merged branch add_linters into qa |
* Add file Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * Remove one of linters Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * Update ci Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More disables Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * Fix linter Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * Fix linter Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * Disable one linter, fix code Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More improvements Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * Fix errors Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More improvements Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * Update ci Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * Improve linter Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * Fix linter Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * goftm Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * Fix some gocritic issues Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * Resolve conversation * Improvement pipeline (ZupIT#614) * adding stg environment * adding stg environment Signed-off-by: Vinicius Ramos de Faria <viniciusramosdefaria@gmail.com> * Trying to make DCO pass Signed-off-by: Vinicius Ramos de Faria <viniciusramosdefaria@gmail.com> * adding stg environment (ZupIT#606) * adding stg environment * adding stg environment Signed-off-by: Vinicius Ramos de Faria <viniciusramosdefaria@gmail.com> * Trying to make DCO pass Signed-off-by: Vinicius Ramos de Faria <viniciusramosdefaria@gmail.com> * refactoring pipeline * minor tweaks * removing unnecessary files * adding routing script Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * added context printing (ZupIT#632) * added context printing Signed-off-by: victor-schumacher <victorschumacher255@gmail.com> * fix extra spaces, showling only non default contexts now Co-authored-by: victor-schumacher <victorschumacher255@gmail.com> Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * Prompt to auto rebuild formula on source modifications (ZupIT#578) * Prompting to rebuild on modifications Signed-off-by: Gabriel Pinheiro <gabrielctpinheiro@gmail.com> * Adding pre run builder tests Signed-off-by: Gabriel Pinheiro <gabrielctpinheiro@gmail.com> * refactor: Go style to pre run builder Signed-off-by: Gabriel Pinheiro <gabrielctpinheiro@gmail.com> * Running pre build for local repo only Signed-off-by: Gabriel Pinheiro <gabrielctpinheiro@gmail.com> * Adding more pre run build tests Signed-off-by: Gabriel Pinheiro <gabrielctpinheiro@gmail.com> * Refactor: Extracting workspace hashing to workspace.go Signed-off-by: Gabriel Pinheiro <gabrielctpinheiro@gmail.com> * Updating formula hash on manual builds Signed-off-by: Gabriel Pinheiro <gabrielctpinheiro@gmail.com> * Adding workspace hash tests Signed-off-by: Gabriel Pinheiro <gabrielctpinheiro@gmail.com> * refactor: Customizing workspace hashing custom mock methods Signed-off-by: Gabriel Pinheiro <gabrielctpinheiro@gmail.com> * refactor: Organizing pre run builder tests Signed-off-by: Gabriel Pinheiro <gabrielctpinheiro@gmail.com> * refactor: Removing dead code Signed-off-by: Gabriel Pinheiro <gabrielctpinheiro@gmail.com> * refactor: Organizing pre run builder tests Signed-off-by: Gabriel Pinheiro <gabrielctpinheiro@gmail.com> * Hashing the whole formula instead of only the src Signed-off-by: Gabriel Pinheiro <gabrielctpinheiro@gmail.com> * Decoupling build commands from main (ZupIT#630) * Decoupling build commands from main Signed-off-by: Henrique Moraes <henrique.moraes@zup.com.br> * Linter Signed-off-by: Henrique Moraes <henrique.moraes@zup.com.br> Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * added warning on same env name (ZupIT#633) * added warning and test case Signed-off-by: victor-schumacher <victorschumacher255@gmail.com> * remove print' Signed-off-by: victor-schumacher <victorschumacher255@gmail.com> * new function for check Signed-off-by: victor-schumacher <victorschumacher255@gmail.com> Co-authored-by: victor-schumacher <victorschumacher255@gmail.com> Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * Merge master Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * Disable maligned Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * Fix ci * Check for errors * Resolve conversations Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * Resolve conversations Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * Resolve conversations Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * Fix errors after merge Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> Co-authored-by: viniciusramosdefaria <viniciusramosdefaria@gmail.com> Co-authored-by: Victor Schumacher <51962831+victorschumacherzup@users.noreply.github.com> Co-authored-by: victor-schumacher <victorschumacher255@gmail.com> Co-authored-by: gabriel-pinheiro <56726395+gabriel-pinheiro@users.noreply.github.com> Co-authored-by: henriquemoraeszup <68074718+henriquemoraeszup@users.noreply.github.com> Signed-off-by: Bruno N. Melo <brunonobrega.melo@gmail.com>
* Add file Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * Remove one of linters Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * Update ci Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More disables Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * Fix linter Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * Fix linter Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * Disable one linter, fix code Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More improvements Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * Fix errors Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More improvements Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * Update ci Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * Improve linter Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * Fix linter Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * goftm Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * More fixes Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * Fix some gocritic issues Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * Resolve conversation * Improvement pipeline (ZupIT#614) * adding stg environment * adding stg environment Signed-off-by: Vinicius Ramos de Faria <viniciusramosdefaria@gmail.com> * Trying to make DCO pass Signed-off-by: Vinicius Ramos de Faria <viniciusramosdefaria@gmail.com> * adding stg environment (ZupIT#606) * adding stg environment * adding stg environment Signed-off-by: Vinicius Ramos de Faria <viniciusramosdefaria@gmail.com> * Trying to make DCO pass Signed-off-by: Vinicius Ramos de Faria <viniciusramosdefaria@gmail.com> * refactoring pipeline * minor tweaks * removing unnecessary files * adding routing script Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * added context printing (ZupIT#632) * added context printing Signed-off-by: victor-schumacher <victorschumacher255@gmail.com> * fix extra spaces, showling only non default contexts now Co-authored-by: victor-schumacher <victorschumacher255@gmail.com> Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * Prompt to auto rebuild formula on source modifications (ZupIT#578) * Prompting to rebuild on modifications Signed-off-by: Gabriel Pinheiro <gabrielctpinheiro@gmail.com> * Adding pre run builder tests Signed-off-by: Gabriel Pinheiro <gabrielctpinheiro@gmail.com> * refactor: Go style to pre run builder Signed-off-by: Gabriel Pinheiro <gabrielctpinheiro@gmail.com> * Running pre build for local repo only Signed-off-by: Gabriel Pinheiro <gabrielctpinheiro@gmail.com> * Adding more pre run build tests Signed-off-by: Gabriel Pinheiro <gabrielctpinheiro@gmail.com> * Refactor: Extracting workspace hashing to workspace.go Signed-off-by: Gabriel Pinheiro <gabrielctpinheiro@gmail.com> * Updating formula hash on manual builds Signed-off-by: Gabriel Pinheiro <gabrielctpinheiro@gmail.com> * Adding workspace hash tests Signed-off-by: Gabriel Pinheiro <gabrielctpinheiro@gmail.com> * refactor: Customizing workspace hashing custom mock methods Signed-off-by: Gabriel Pinheiro <gabrielctpinheiro@gmail.com> * refactor: Organizing pre run builder tests Signed-off-by: Gabriel Pinheiro <gabrielctpinheiro@gmail.com> * refactor: Removing dead code Signed-off-by: Gabriel Pinheiro <gabrielctpinheiro@gmail.com> * refactor: Organizing pre run builder tests Signed-off-by: Gabriel Pinheiro <gabrielctpinheiro@gmail.com> * Hashing the whole formula instead of only the src Signed-off-by: Gabriel Pinheiro <gabrielctpinheiro@gmail.com> * Decoupling build commands from main (ZupIT#630) * Decoupling build commands from main Signed-off-by: Henrique Moraes <henrique.moraes@zup.com.br> * Linter Signed-off-by: Henrique Moraes <henrique.moraes@zup.com.br> Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * added warning on same env name (ZupIT#633) * added warning and test case Signed-off-by: victor-schumacher <victorschumacher255@gmail.com> * remove print' Signed-off-by: victor-schumacher <victorschumacher255@gmail.com> * new function for check Signed-off-by: victor-schumacher <victorschumacher255@gmail.com> Co-authored-by: victor-schumacher <victorschumacher255@gmail.com> Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * Merge master Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * Disable maligned Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * Fix ci * Check for errors * Resolve conversations Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * Resolve conversations Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * Resolve conversations Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> * Fix errors after merge Signed-off-by: lcd1232 <8745863+lcd1232@users.noreply.github.com> Co-authored-by: viniciusramosdefaria <viniciusramosdefaria@gmail.com> Co-authored-by: Victor Schumacher <51962831+victorschumacherzup@users.noreply.github.com> Co-authored-by: victor-schumacher <victorschumacher255@gmail.com> Co-authored-by: gabriel-pinheiro <56726395+gabriel-pinheiro@users.noreply.github.com> Co-authored-by: henriquemoraeszup <68074718+henriquemoraeszup@users.noreply.github.com> Signed-off-by: Bruno N. Melo <brunonobrega.melo@gmail.com>
Description
How to verify it
golangci-lint run ./...
Changelog