mirror of https://gitea.com/gitea/test-env.git
Update golangci-lint (#10)
- Download the newest version of golangci-lint. - Use the recommended install script. - Relavent: https://github.com/go-gitea/gitea/pull/17647 Co-authored-by: Gusted <williamzijl7@hotmail.com> Reviewed-on: https://gitea.com/gitea/test-env/pulls/10 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Reviewed-by: a1012112796 <1012112796@qq.com> Co-authored-by: Gusted <gusted@noreply.gitea.io> Co-committed-by: Gusted <gusted@noreply.gitea.io>
This commit is contained in:
parent
39572dd672
commit
3bf763c245
|
@ -23,4 +23,4 @@ RUN curl -SL https://github.com/git/git/archive/v2.33.0.tar.gz \
|
||||||
&& apt-get install -y git-lfs \
|
&& apt-get install -y git-lfs \
|
||||||
# install golangci-lint
|
# install golangci-lint
|
||||||
&& export BINARY="golangci-lint" \
|
&& export BINARY="golangci-lint" \
|
||||||
&& curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.37.0
|
&& curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/v1.43.0/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.43.0
|
||||||
|
|
|
@ -5,4 +5,4 @@ A docker image for Gitea ci test
|
||||||
- From golang:1.17
|
- From golang:1.17
|
||||||
- upgrade git to v2.33.0
|
- upgrade git to v2.33.0
|
||||||
- install git-lfs
|
- install git-lfs
|
||||||
- install [golangci-lint](https://github.com/golangci/golangci-lint) v1.37.0
|
- install [golangci-lint](https://github.com/golangci/golangci-lint) v1.43.0
|
||||||
|
|
Loading…
Reference in New Issue