From 1fd434d3d1e38aa20694e7229da3ca7c471d06a5 Mon Sep 17 00:00:00 2001
From: Alex Sharov <AskAlexSharov@gmail.com>
Date: Sat, 19 Mar 2022 10:02:46 +0700
Subject: [PATCH] linter to support go 1.18 (#3739)

---
 .github/workflows/ci.yml | 6 +++---
 Makefile                 | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 189638246b..15ced39097 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -20,7 +20,7 @@ jobs:
       - run: git submodule update --init --recursive --force
       - uses: actions/setup-go@v3
         with:
-          go-version: 1.17.x
+          go-version: 1.18.x
       - name: Install dependencies
         run: |
           if [ "$RUNNER_OS" == "Linux" ]; then
@@ -44,7 +44,7 @@ jobs:
         if: matrix.os == 'ubuntu-20.04'
         uses: golangci/golangci-lint-action@v3
         with:
-          version: v1.44
+          version: v1.45
           skip-pkg-cache: true
           skip-build-cache: true
       - run: make test
@@ -60,7 +60,7 @@ jobs:
       - run: git submodule update --init --recursive --force
       - uses: actions/setup-go@v3
         with:
-          go-version: 1.17.x
+          go-version: 1.18.x
       - run: choco upgrade mingw cmake -y --no-progress
       - name: Build
         run: |
diff --git a/Makefile b/Makefile
index a2cf9828cc..a97ea32970 100644
--- a/Makefile
+++ b/Makefile
@@ -97,7 +97,7 @@ lintci:
 
 lintci-deps:
 	rm -f ./build/bin/golangci-lint
-	curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b ./build/bin v1.44.2
+	curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b ./build/bin v1.45.0
 
 clean:
 	go clean -cache
-- 
GitLab