Skip to content

Commit

Permalink
chore(deps): bump go to 1.22.3
Browse files Browse the repository at this point in the history
  • Loading branch information
geyslan committed May 20, 2024
1 parent 015e29b commit cdf51f4
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/actions/build-dependencies/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ runs:
run: |
sudo rm -f /usr/bin/go
sudo rm -f /usr/bin/gofmt
curl -L -o /tmp/golang.tar.gz https://go.dev/dl/go1.21.6.linux-amd64.tar.gz
curl -L -o /tmp/golang.tar.gz https://go.dev/dl/go1.22.3.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf /tmp/golang.tar.gz
sudo ln -s /usr/local/go/bin/go /usr/bin/go
sudo ln -s /usr/local/go/bin/gofmt /usr/bin/gofmt
Expand Down
2 changes: 1 addition & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Vagrant.configure("2") do |config|

config.vm.provision "shell", privileged: true, inline: <<-SHELL
VAGRANT_HOME="/home/vagrant"
GO_VERSION="1.21.6"
GO_VERSION="1.22.3"
OPA_VERSION="v0.63.0"
KUBECTL_VERSION="v1.29"
Expand Down
2 changes: 1 addition & 1 deletion builder/Dockerfile.k8s
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.21
FROM golang:1.22.3

RUN go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.13.0

Expand Down
2 changes: 1 addition & 1 deletion builder/Dockerfile.protoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.21
FROM golang:1.22.3

ARG PROTOC_VERSION="23.4"
ARG PROTOC_ZIP="protoc-${PROTOC_VERSION}-linux-x86_64.zip"
Expand Down
2 changes: 1 addition & 1 deletion builder/Dockerfile.ubuntu-tracee-make
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ RUN export uid=$uid gid=$gid && \
RUN export DEBIAN_FRONTEND=noninteractive && \
altarch=$(uname -m | sed 's:x86_64:amd64:g' | sed 's:aarch64:arm64:g') && \
apt-get update && \
curl -L -o /tmp/golang.tar.xz https://go.dev/dl/go1.21.5.linux-${altarch}.tar.gz && \
curl -L -o /tmp/golang.tar.xz https://go.dev/dl/go1.22.3.linux-${altarch}.tar.gz && \
tar -C /usr/local -xzf /tmp/golang.tar.xz && \
update-alternatives --install /usr/bin/go go /usr/local/go/bin/go 1 && \
update-alternatives --install /usr/bin/gofmt gofmt /usr/local/go/bin/gofmt 1
Expand Down
2 changes: 1 addition & 1 deletion docs/contributing/building/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
2. Building **dependencies**

1. **clang** && **llvm** (12, 13 or 14)
1. **golang** (1.21)
1. **golang** (1.22.3)
1. **libelf** and **libelf-dev**
(or elfutils-libelf and elfutils-libelf-devel)
1. **zlib1g** and **zlib1g-dev**
Expand Down
4 changes: 2 additions & 2 deletions tests/e2e-install-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,9 @@ install_clang_from_github() {

install_golang_from_github() {
if [[ $ARCH == x86_64 ]]; then
GO_URL="https://go.dev/dl/go1.21.6.linux-amd64.tar.gz"
GO_URL="https://go.dev/dl/go1.22.3.linux-amd64.tar.gz"
else
GO_URL="https://go.dev/dl/go1.21.6.linux-arm64.tar.gz"
GO_URL="https://go.dev/dl/go1.22.3.linux-arm64.tar.gz"
fi

GO_FILE=$(basename $GO_URL)
Expand Down

0 comments on commit cdf51f4

Please sign in to comment.