From b49d8b79cc6a03a933f2414181b6cd5784d72c3b Mon Sep 17 00:00:00 2001 From: Alex Demidoff Date: Fri, 9 Feb 2024 12:51:27 +0300 Subject: [PATCH] PMM-7 use the latest verison of golangci-lint --- .github/workflows/golangci-lint.yml | 2 +- Makefile.common | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index f75b0117f0..f1d5ca50af 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -30,4 +30,4 @@ jobs: - name: Lint uses: golangci/golangci-lint-action@v3.7.0 with: - version: v1.45.2 + version: v1.54.0 diff --git a/Makefile.common b/Makefile.common index 7642c4485c..7ba05bdc64 100644 --- a/Makefile.common +++ b/Makefile.common @@ -61,7 +61,7 @@ PROMU_URL := https://github.com/prometheus/promu/releases/download/v$(PROMU_ SKIP_GOLANGCI_LINT := GOLANGCI_LINT := GOLANGCI_LINT_OPTS ?= -GOLANGCI_LINT_VERSION ?= v1.49.0 +GOLANGCI_LINT_VERSION ?= v1.54.0 # golangci-lint only supports linux, darwin and windows platforms on i386/amd64. # windows isn't included here because of the path separator being different. ifeq ($(GOHOSTOS),$(filter $(GOHOSTOS),linux darwin))