From e05ef3c2548976be07c730c956ac9d38df62d4c4 Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Tue, 28 Feb 2023 05:59:03 +0800 Subject: [PATCH] use go 1.20 (#68) Co-authored-by: 6543 <6543@obermui.de> Reviewed-on: https://gitea.com/gitea/changelog/pulls/68 Reviewed-by: Lunny Xiao Reviewed-by: 6543 <6543@obermui.de> Reviewed-by: appleboy --- .drone.yml | 4 ++-- Makefile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 21cfd9e..481fcfd 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,7 +13,7 @@ trigger: steps: - name: build pull: always - image: golang:1.18 + image: golang:1.20 environment: GOPROXY: https://goproxy.io,direct commands: @@ -22,7 +22,7 @@ steps: - name: check pull: always - image: golang:1.18 + image: golang:1.20 environment: GOPROXY: https://goproxy.io,direct commands: diff --git a/Makefile b/Makefile index aeb1467..8cc2b3a 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,7 @@ test: .PHONY: lint lint: - $(GO) run github.com/golangci/golangci-lint/cmd/golangci-lint@v1.46.2 run --timeout 5m + $(GO) run github.com/golangci/golangci-lint/cmd/golangci-lint@v1.51.2 run --timeout 5m .PHONY: fmt fmt: