From f35ec8f8e62e785398d75c8e92997026a7a1e892 Mon Sep 17 00:00:00 2001 From: Keegan Campbell Date: Mon, 13 Feb 2023 14:42:15 -0800 Subject: [PATCH] Dependency updates to fix broken builds (#1547) * Switch to Go 1.20 in normal CI * Get latest version of golangci-lint * Remove outdated linters * Use explicit version of client9/misspell --- .github/workflows/ci.yml | 2 +- .golangci.yml | 3 --- GNUmakefile | 4 ++-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b4cce0d692..165f338486 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: - go-version: '1.19' + go-version: '1.20' - run: make tools - run: make lint - run: make website-lint diff --git a/.golangci.yml b/.golangci.yml index 9be26e033e..7de0f0bbad 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -9,17 +9,14 @@ issues: linters: disable-all: true enable: - - deadcode - errcheck - gofmt - gosimple - ineffassign - misspell - staticcheck - - structcheck - unconvert - unused - - varcheck - vet linters-settings: diff --git a/GNUmakefile b/GNUmakefile index 324e32dd6c..3ad7c52274 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -6,8 +6,8 @@ PKG_NAME=github default: build tools: - go install github.com/client9/misspell/cmd/misspell - go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.48.0 + go install github.com/client9/misspell/cmd/misspell@v0.3.4 + go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.51.1 build: fmtcheck go build ./...