]> source.dussan.org Git - gitea.git/commit
Update golangci-lint in Makefile (#17647)
authorGusted <williamzijl7@hotmail.com>
Wed, 17 Nov 2021 05:41:01 +0000 (05:41 +0000)
committerGitHub <noreply@github.com>
Wed, 17 Nov 2021 05:41:01 +0000 (13:41 +0800)
commit21f6c0be0886aa5ecd92a65e6d1e2ef247fc73c9
tree381aafd76fe885a0be7582c2b7911bbacc36d517
parent42670e6b1c8f6dc34785a2efdacf22b749ce7a28
Update golangci-lint in Makefile (#17647)

* Update golangci-lint in Makefile

- Partially resolvess #17596
- Download specific version(v1.43.0) by default.
- If current installed version is older than the minium version, it will
download the mininium required version.
- Update the install script to avoid deprecated error
`golangci/golangci-lint err this script is deprecated, please do not use
it anymore. check https://github.com/goreleaser/godownloader/issues/207`

* Simplify golangci-lint version check

* Fix version conversion

* Add version that's downloading

Co-authored-by: zeripath <art27@cantab.net>
* Consistency

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Makefile