forked from lunny/changelog
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:
parent
5f171f4c5e
commit
e05ef3c254
@ -13,7 +13,7 @@ trigger:
|
|||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
pull: always
|
pull: always
|
||||||
image: golang:1.18
|
image: golang:1.20
|
||||||
environment:
|
environment:
|
||||||
GOPROXY: https://goproxy.io,direct
|
GOPROXY: https://goproxy.io,direct
|
||||||
commands:
|
commands:
|
||||||
@ -22,7 +22,7 @@ steps:
|
|||||||
|
|
||||||
- name: check
|
- name: check
|
||||||
pull: always
|
pull: always
|
||||||
image: golang:1.18
|
image: golang:1.20
|
||||||
environment:
|
environment:
|
||||||
GOPROXY: https://goproxy.io,direct
|
GOPROXY: https://goproxy.io,direct
|
||||||
commands:
|
commands:
|
||||||
|
2
Makefile
2
Makefile
@ -27,7 +27,7 @@ test:
|
|||||||
|
|
||||||
.PHONY: lint
|
.PHONY: lint
|
||||||
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
|
.PHONY: fmt
|
||||||
fmt:
|
fmt:
|
||||||
|
Loading…
Reference in New Issue
Block a user