From 6553faafb63b9862a123bd29281ea3f7e2856613 Mon Sep 17 00:00:00 2001 From: Umputun Date: Mon, 11 Jul 2022 18:06:37 -0500 Subject: [PATCH] update linter version --- .github/workflows/ci.yml | 2 +- .golangci.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d20f75e..06bea8c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,7 +40,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.43.0 + curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $GITHUB_WORKSPACE v1.46.2 GO111MODULE=off go get -u github.com/mattn/goveralls - name: run linters diff --git a/.golangci.yml b/.golangci.yml index d9114f2..48008c7 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -50,6 +50,7 @@ linters: - stylecheck - gochecknoinits - exportloopref + - gocritic - nakedret - gosimple - prealloc