From dfe456407273c25b8be067b63a5ca78c515099e0 Mon Sep 17 00:00:00 2001
From: Antoine GIRARD <sapk@users.noreply.github.com>
Date: Mon, 13 Jan 2020 15:06:49 +0100
Subject: [PATCH] ci: go back to golangci-lint 1.20.0 (#9742)

Revert https://github.com/go-gitea/gitea/pull/9711
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 89c3de401..cd1d1fe32 100644
--- a/Makefile
+++ b/Makefile
@@ -534,6 +534,6 @@ pr:
 golangci-lint:
 	@hash golangci-lint > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
 		export BINARY="golangci-lint"; \
-		curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(GOPATH)/bin v1.22.2; \
+		curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(GOPATH)/bin v1.20.0; \
 	fi
 	golangci-lint run --timeout 5m