mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 18:53:35 +00:00
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:
7
Makefile
7
Makefile
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user