-
Type: Story
-
Status: Resolved (View Workflow)
-
Priority: Low
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: VOLTHA v2.3
-
Component/s: api-server, ro-core, rw-core
-
Labels:
-
Story Points:5
-
Epic Link:
-
Sprint:VOLTHA 2.1 Sprint 6
see attached sca-report.xml
added the following to Makefile to test
GOLANGCI_LINT_TOOL:=$(shell which golangci-lint)
sca:
ifeq (,$(GOLANGCI_LINT_TOOL))
@echo "Please install golangci-lint tool to run sca"
exit 1
endif
@mkdir -p ./sca-report
GO111MODULE=auto golangci-lint run --out-format junit-xml ./... 2>&1 | tee ./sca-report/sca-report.xml ;\
RETURN=$$? ;\
exit $$RETURN