File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -116,6 +116,8 @@ void resultNotification(message) {
116
116
117
117
void lint () {
118
118
sh '''
119
+ echo Installing golangci-lint
120
+ curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.49.0
119
121
make lint saveOutput=true
120
122
echo helm template lint output: ;echo; helm-lint-output.txt; echo all tests lint output: ;echo; test-lint-output.txt
121
123
'''
Original file line number Diff line number Diff line change 68
68
helm lint --with-subcharts charts/ $(if $(saveOutput ) , > helm-lint-output.txt,)
69
69
70
70
@echo "> Linting all tests....."
71
- docker run --rm -v $(pwd):/app -w /app golangci/golangci-lint:v1.49.0 golangci-lint run $(if $(saveOutput), > test-lint-output.txt,)
71
+ golangci-lint run $(if $(saveOutput), > test-lint-output.txt,)
72
72
73
73
# # ---------- Testing Tasks ----------
74
74
You can’t perform that action at this time.
0 commit comments