From ed4f009ef2c7dd67ff5de0c034975cafc142c956 Mon Sep 17 00:00:00 2001 From: cuisongliu Date: Wed, 8 Dec 2021 21:36:33 +0800 Subject: [PATCH] feat(develop): fix golint --- .github/workflows/gosec.yml | 12 ------------ Makefile | 14 -------------- 2 files changed, 26 deletions(-) delete mode 100644 .github/workflows/gosec.yml diff --git a/.github/workflows/gosec.yml b/.github/workflows/gosec.yml deleted file mode 100644 index 19d21548cd6f..000000000000 --- a/.github/workflows/gosec.yml +++ /dev/null @@ -1,12 +0,0 @@ -name: golang-security-action - -on: [push, pull_request] - -jobs: - golang-security-action: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - uses: ynniss/golang-security-action@master - with: - CODE_PATH: "./..." diff --git a/Makefile b/Makefile index 5e44e1470d0c..ad691360e959 100644 --- a/Makefile +++ b/Makefile @@ -70,20 +70,6 @@ filelicense: ## add license fi \ done -install-gosec: ## check license if not exist install addlicense tools -ifeq (, $(shell which gosec)) - @{ \ - set -e ;\ - go install github.com/securego/gosec/v2/cmd/gosec@latest ;\ - } -GOSEC_BIN=$(GOBIN)/gosec -else -GOSEC_BIN=$(shell which gosec) -endif - -gosec: install-gosec - $(GOSEC_BIN) ./... - install-ossutil: ## check ossutil if not exist install ossutil tools ifeq (, $(shell which ossutil)) @{ \