From 53c5f599efdc1d51a8a15d07e83833aaf879df3c Mon Sep 17 00:00:00 2001 From: Jian Zeng Date: Tue, 10 Sep 2024 11:00:40 +0800 Subject: [PATCH] chore: use latest golangci-lint Signed-off-by: Jian Zeng --- .github/workflows/pr-presubmit-checks.yml | 2 +- .golangci.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-presubmit-checks.yml b/.github/workflows/pr-presubmit-checks.yml index 9b24f6f..c08648b 100644 --- a/.github/workflows/pr-presubmit-checks.yml +++ b/.github/workflows/pr-presubmit-checks.yml @@ -27,7 +27,7 @@ jobs: - name: Run golangci-lint uses: golangci/golangci-lint-action@v6 with: - version: v1.58.1 + version: latest unit-test: name: Unit Test diff --git a/.golangci.yml b/.golangci.yml index c242661..7447425 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -32,9 +32,9 @@ run: # https://golangci-lint.run/usage/linters/ linters: enable: + - copyloopvar - depguard - exhaustive - - exportloopref - gci - gochecknoinits - goconst