From 621c983202650508c9d05e1f9d3aa9b7d79ba5e9 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: Fri, 28 Jul 2023 12:38:35 +0800 Subject: [PATCH] fix: disable wrong lint --- .github/workflows/go-vet.yml | 4 ++-- .golangci.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/go-vet.yml b/.github/workflows/go-vet.yml index 6567fde..d6355c3 100644 --- a/.github/workflows/go-vet.yml +++ b/.github/workflows/go-vet.yml @@ -11,7 +11,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@master with: - go-version: ^1.18 + go-version: ^1.20 - name: Check out code into the Go module directory uses: actions/checkout@master @@ -32,7 +32,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@master with: - go-version: ^1.18 + go-version: ^1.20 - name: Check out code into the Go module directory uses: actions/checkout@master diff --git a/.golangci.yml b/.golangci.yml index 9fef078..a1f814c 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -18,7 +18,7 @@ linters: enable: - bodyclose - deadcode - - depguard + #- depguard - dogsled - dupl - errcheck @@ -39,7 +39,7 @@ linters: - nolintlint - rowserrcheck - staticcheck - - structcheck + #- structcheck #- stylecheck - typecheck - unconvert