mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-01-20 05:19:40 +02:00
79b07e625b
* add golangci-lint functionality * fix log typos * fix golangci-lint install dir * log golangci-lint output report * specify golangci-lint version, as recommended * log spelling consistency * clean code * refactor golangci-lint runner * fail build if linter found issues * fix bug where exit status can't be derived from nil error * refactor runGolangciLint * refactor retrieveGolangciLint * uncomment golang tests * Use FileWrite method from utils * Add tests * Fix test * fix typo * alter runLinter param name, improve docs * undo commenting RunTests... * alter runLinter name in generated and tests too * fix variable name (thanks code climate) * Add usage of ‘go install’ instead of ‘curl’ * Fix tests * Add usage of functionality of http pkg * Update tests * Update tests * Add usage of piperhttp pkg && update tests * Add DownloadFile method * Update tests Co-authored-by: Jordi van Liempt <35920075+jliempt@users.noreply.github.com>