From 7899176d8e0d565d8c5b068f27f65fe60b39cdff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Muhammed=20Efe=20=C3=87etin?= Date: Sun, 5 Feb 2023 23:46:46 +0300 Subject: [PATCH] :construction_worker: v3 (ci): fix linter, remove gosec worklow --- .github/workflows/security.yml | 16 ---------------- .golangci.yml | 2 +- 2 files changed, 1 insertion(+), 17 deletions(-) delete mode 100644 .github/workflows/security.yml diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml deleted file mode 100644 index b5c49574..00000000 --- a/.github/workflows/security.yml +++ /dev/null @@ -1,16 +0,0 @@ -on: - push: - branches: - - v3-beta - pull_request: -name: Security -jobs: - Gosec: - runs-on: ubuntu-latest - steps: - - name: Fetch Repository - uses: actions/checkout@v3 - - name: Run Gosec - uses: securego/gosec@master - with: - args: -exclude-dir=internal/*/ ./... diff --git a/.golangci.yml b/.golangci.yml index af3bfb8d..30b28dc8 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -48,7 +48,7 @@ linters-settings: packages: - flag - io/ioutil - packages-with-error-message: + packages-with-error-message: - flag: '`flag` package is only allowed in main.go' - io/ioutil: '`io/ioutil` package is deprecated, use the `io` and `os` package instead'