From f6c9428978820661879507ab69a1e2c47545f835 Mon Sep 17 00:00:00 2001 From: Alexander Melentyev <55826637+alexander-melentyev@users.noreply.github.com> Date: Tue, 9 Nov 2021 21:53:30 +0300 Subject: [PATCH] ci: bump golangci-lint version (#2106) --- .github/workflows/ci.yml | 2 +- .golangci.yml | 9 +++------ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index abc2da58a..cc8412fe7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: - name: Run linters uses: golangci/golangci-lint-action@v2.5.2 with: - version: v1.42 + version: v1.43.0 unit: runs-on: ubuntu-latest diff --git a/.golangci.yml b/.golangci.yml index 864b793c2..a2b7d1b13 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -52,12 +52,6 @@ issues: - linters: - unused source: ent.Schema - - path: entc/integration/ent/schema/card.go - text: "`internal` is unused" - - path: dialect/sql/builder.go - text: "SQL string concatenation" - linters: - - gosec - path: dialect/sql/schema linters: - dupl @@ -71,3 +65,6 @@ issues: - path: entc/load/schema.go linters: - staticcheck + - path: entc/gen/graph.go + linters: + - gocritic \ No newline at end of file