From cdf62778d71d146c46a9a0f40c991f91ef23995b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BA=90=E6=96=87=E9=9B=A8?= <41315874+fumiama@users.noreply.github.com> Date: Wed, 23 Apr 2025 18:06:41 +0900 Subject: [PATCH] chore: make lint happy --- .github/workflows/pull.yml | 4 ++-- .golangci.yml | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pull.yml b/.github/workflows/pull.yml index 9f1cddb..294323f 100644 --- a/.github/workflows/pull.yml +++ b/.github/workflows/pull.yml @@ -14,10 +14,10 @@ jobs: uses: actions/checkout@master - name: golangci-lint - uses: golangci/golangci-lint-action@master + uses: golangci/golangci-lint-action@v6 with: # Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version - version: latest + version: v1.59.1 # Optional: working directory, useful for monorepos # working-directory: somedir diff --git a/.golangci.yml b/.golangci.yml index 7de2a5f..7fed191 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -18,10 +18,11 @@ linters: fast: false enable: - bodyclose + - copyloopvar #- depguard - dogsled - errcheck - - exportloopref + #- exportloopref - exhaustive #- funlen #- goconst