Skip to content

Commit

Permalink
Content Ci Go upgrade (#32001)
Browse files Browse the repository at this point in the history
* update go version

* update golangci-lint version
  • Loading branch information
AradCarmi authored Sep 9, 2024
1 parent 3c7bb48 commit 76f877b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker/gitlab-content-ci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ RUN git clone https://github.com/go-nv/goenv.git --depth 1 ~/.goenv
RUN echo 'export GOENV_ROOT="$HOME/.goenv"' >> ~/.bashrc \
&& echo 'export PATH="$GOENV_ROOT/bin:$PATH"' >> ~/.bashrc \
&& source ~/.bashrc \
&& goenv install 1.20.5 \
&& goenv global 1.20.5 \
&& goenv install 1.22.5 \
&& goenv global 1.22.5 \
&& echo 'eval "$(goenv init -)"' >> ~/.bashrc \
&& echo 'export PATH="$GOROOT/bin:$PATH"' >> ~/.bashrc \
&& echo 'export PATH="$PATH:$GOPATH/bin"' >> ~/.bashrc \
&& source ~/.bashrc
RUN curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.53.3
RUN curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.60.3

0 comments on commit 76f877b

Please sign in to comment.