Skip to content

Commit

Permalink
ci: update go version in ci dependencies image
Browse files Browse the repository at this point in the history
  • Loading branch information
hedibouattour authored and sknat committed Aug 22, 2023
1 parent 6b35da9 commit d055915
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .ci/Dockerfile.depend
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y -qq \
apt-utils wget cmake curl git

ENV GOVERSION=1.18.2
ENV GOVERSION=1.20.7
ENV GOROOT="/root/.go"
ENV GOPATH="/root/go"
ENV PATH=$GOROOT/bin:$PATH
Expand All @@ -22,7 +22,7 @@ RUN mkdir -p "${GOROOT}" &&\
RUN wget -nv "https://dl.google.com/go/go${GOVERSION}.linux-amd64.tar.gz" -O "/tmp/go.tar.gz" && \
tar -C "${GOROOT}" --strip-components=1 -xzf "/tmp/go.tar.gz" && \
rm -f "/tmp/go.tar.gz" && \
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.50.1
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.54.2

# Get modules used by the source code
COPY . /vpp-dataplane
Expand Down
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ require (
// - Add comments e.g. `// v3.23.0` to make the commit hash(s) explicit

replace (
github.com/projectcalico/api => github.com/projectcalico/api v0.0.0-20230602153125-fb7148692637 // v3.26.0
k8s.io/api => k8s.io/api v0.26.3
k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.26.3
k8s.io/apimachinery => k8s.io/apimachinery v0.26.3
Expand Down

0 comments on commit d055915

Please sign in to comment.