ci: remove gh action gosec linter,since it is already part of golangci

This commit removes gosec standalone linter and related parts,
since golangci linter runs gosec linter too.

Signed-off-by: Rakshith R <rar@redhat.com>
This commit is contained in:
Rakshith R
2021-11-16 16:18:23 +05:30
committed by Niels de Vos
parent 0bf9db822b
commit 191b603974
6 changed files with 2 additions and 40 deletions

View File

@ -87,7 +87,7 @@ endif
all: cephcsi
.PHONY: go-test static-check mod-check go-lint lint-extras gosec commitlint codespell
.PHONY: go-test static-check mod-check go-lint lint-extras commitlint codespell
ifeq ($(CONTAINERIZED),no)
# include mod-check in non-containerized runs
test: go-test static-check mod-check
@ -95,7 +95,7 @@ else
# exclude mod-check for containerized runs (CI runs it separately)
test: go-test static-check
endif
static-check: check-env codespell go-lint lint-extras gosec
static-check: check-env codespell go-lint lint-extras
go-test: TEST_COVERAGE ?= $(shell . $(CURDIR)/build.env ; echo $${TEST_COVERAGE})
go-test: GO_COVER_DIR ?= $(shell . $(CURDIR)/build.env ; echo $${GO_COVER_DIR})
@ -133,9 +133,6 @@ lint-helm:
lint-py:
./scripts/lint-extras.sh lint-py
gosec:
GO_TAGS="$(GO_TAGS)" ./scripts/gosec.sh
func-test:
go test $(GO_TAGS) -mod=vendor github.com/ceph/ceph-csi/e2e $(TESTOPTIONS)