From 40db689b27381d06692f9954ce1beec56c4fd6c5 Mon Sep 17 00:00:00 2001 From: Umputun Date: Mon, 6 Apr 2020 00:18:56 -0500 Subject: [PATCH] update linter to 1.24 #641 --- .github/workflows/ci-test-backend.yml | 2 +- backend/.golangci.yml | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-test-backend.yml b/.github/workflows/ci-test-backend.yml index a9efb1dc..1b3aa736 100644 --- a/.github/workflows/ci-test-backend.yml +++ b/.github/workflows/ci-test-backend.yml @@ -49,7 +49,7 @@ jobs: - name: install golangci-lint and goveralls run: | - curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $GITHUB_WORKSPACE v1.20.0 + curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $GITHUB_WORKSPACE v1.24.0 go get -u github.com/mattn/goveralls - name: run backend linters diff --git a/backend/.golangci.yml b/backend/.golangci.yml index 0128643d..5e105464 100644 --- a/backend/.golangci.yml +++ b/backend/.golangci.yml @@ -21,4 +21,7 @@ linters: - varcheck disable-all: true issues: - exclude-use-default: false \ No newline at end of file + exclude-use-default: false + +service: + golangci-lint-version: 1.24.x \ No newline at end of file