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 <xiaolunwen@gmail.com>
Reviewed-by: 6543 <6543@obermui.de>
Reviewed-by: appleboy <appleboy.tw@gmail.com>
This commit is contained in:
techknowlogick 2023-02-28 05:59:03 +08:00
parent 5f171f4c5e
commit e05ef3c254
2 changed files with 3 additions and 3 deletions

View File

@ -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:

View File

@ -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: