Skip to content

Commit

Permalink
bats test: upgrade golang version to 1.21.5
Browse files Browse the repository at this point in the history
Signed-off-by: Qinqi Qu <quqinqi@linux.alibaba.com>
  • Loading branch information
adamqqqplay authored and Desiki-high committed Jan 3, 2024
1 parent 8e1799e commit 5ecda8c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/bats/common_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ RUN apt-get update -y \
&& rm -rf /var/lib/apt/lists/*
# install golang env
Run wget https://go.dev/dl/go1.19.linux-amd64.tar.gz \
&& tar -C /usr/local -xzf go1.19.linux-amd64.tar.gz \
&& rm -rf go1.19.linux-amd64.tar.gz
Run wget https://go.dev/dl/go1.21.5.linux-amd64.tar.gz \
&& tar -C /usr/local -xzf go1.21.5.linux-amd64.tar.gz \
&& rm -rf go1.21.5.linux-amd64.tar.gz
ENV PATH \$PATH:/usr/local/go/bin
RUN go env -w GO111MODULE=on
Expand Down

0 comments on commit 5ecda8c

Please sign in to comment.