Skip to content

Commit

Permalink
NO-ISSUE: update go from 1.22.9 to 1.22.12 to address recently CVEs (a…
Browse files Browse the repository at this point in the history
  • Loading branch information
rgdoliveira authored and ricardozanini committed Feb 25, 2025
1 parent 768e1e4 commit 41e388a
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions .ci/incubator-kie-tools-ci-build.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ RUN curl -s "https://get.sdkman.io" | bash && \
sdk flush

# Golang setup
RUN wget https://go.dev/dl/go1.22.9.linux-amd64.tar.gz -P /tmp && \
sudo tar xzf /tmp/go1.22.9.linux-amd64.tar.gz -C /opt && rm /tmp/go1.22.9.linux-amd64.tar.gz && \
RUN wget https://go.dev/dl/go1.22.12.linux-amd64.tar.gz -P /tmp && \
sudo tar xzf /tmp/go1.22.12.linux-amd64.tar.gz -C /opt && rm /tmp/go1.22.12.linux-amd64.tar.gz && \
echo 'export GOPATH=${HOME}/go' | sudo tee /etc/profile.d/go.sh && \
echo 'export PATH=${PATH}:/opt/go/bin:${GOPATH}/bin' | sudo tee -a /etc/profile.d/go.sh && \
echo "source /etc/profile.d/go.sh" >> $HOME/.bashrc && \
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/setup-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ runs:
java-version: 17
distribution: "temurin"

- name: "Set up GOLANG 1.22.9"
- name: "Set up GOLANG 1.22.12"
uses: actions/setup-go@v5
with:
go-version: "1.22.9"
go-version: "1.22.12"

- name: "Set up Maven"
uses: stCarolas/setup-maven@v5
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ To build and test all packages on this repository, you're going to need:
- pnpm `9.3.0` _(To install, follow these instructions: https://pnpm.io/installation#using-npm)_
- Maven `3.9.6`
- Java `17`
- Go `1.22.9` _(To install, follow these instructions: https://go.dev/doc/install)_
- Go `1.22.12` _(To install, follow these instructions: https://go.dev/doc/install)_
- Python `3.12` _(To install, follow these instructions: https://www.python.org/downloads/)_
- Helm `3.13.3` _(To install, follow these instructions: https://helm.sh/docs/intro/install/)_
- Make
Expand Down
2 changes: 1 addition & 1 deletion devbox.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"maven": "3.9.6",
"kubernetes-helm": "3.13.3",
"gnumake": "4.4.1",
"go": "1.22.9",
"go": "1.22.12",
"python": "3.12.2",
"libxml2": "2.13.3"
},
Expand Down
24 changes: 12 additions & 12 deletions devbox.lock
Original file line number Diff line number Diff line change
Expand Up @@ -21,51 +21,51 @@
}
}
},
"[email protected].9": {
"last_modified": "2024-11-16T04:25:12Z",
"resolved": "github:NixOS/nixpkgs/34a626458d686f1b58139620a8b2793e9e123bba#go_1_22",
"[email protected].12": {
"last_modified": "2025-02-05T05:41:33Z",
"resolved": "github:NixOS/nixpkgs/5b2753b0356d1c951d7a3ef1d086ba5a71fff43c#go_1_22",
"source": "devbox-search",
"version": "1.22.9",
"version": "1.22.12",
"systems": {
"aarch64-darwin": {
"outputs": [
{
"name": "out",
"path": "/nix/store/4nf51i4ah186y2jy3fad2fyvpa49qx6q-go-1.22.9",
"path": "/nix/store/ff0qyzh1faxmbzkpzw82x29ajs19il8i-go-1.22.12",
"default": true
}
],
"store_path": "/nix/store/4nf51i4ah186y2jy3fad2fyvpa49qx6q-go-1.22.9"
"store_path": "/nix/store/ff0qyzh1faxmbzkpzw82x29ajs19il8i-go-1.22.12"
},
"aarch64-linux": {
"outputs": [
{
"name": "out",
"path": "/nix/store/8w8vzwgp55yl8j1ljgm4wzdgjkvkv5v3-go-1.22.9",
"path": "/nix/store/prg2xh9rpfw1qslxqyvqxz8c7c0g3sb5-go-1.22.12",
"default": true
}
],
"store_path": "/nix/store/8w8vzwgp55yl8j1ljgm4wzdgjkvkv5v3-go-1.22.9"
"store_path": "/nix/store/prg2xh9rpfw1qslxqyvqxz8c7c0g3sb5-go-1.22.12"
},
"x86_64-darwin": {
"outputs": [
{
"name": "out",
"path": "/nix/store/vlih7j78ki05i8nvzdsxvws7a7ksq04m-go-1.22.9",
"path": "/nix/store/lzqrskhfcq6hcsx11brn3q88yzkyj0sz-go-1.22.12",
"default": true
}
],
"store_path": "/nix/store/vlih7j78ki05i8nvzdsxvws7a7ksq04m-go-1.22.9"
"store_path": "/nix/store/lzqrskhfcq6hcsx11brn3q88yzkyj0sz-go-1.22.12"
},
"x86_64-linux": {
"outputs": [
{
"name": "out",
"path": "/nix/store/frc5188kgv3ws0n999c7cy5vi2f8k4jp-go-1.22.9",
"path": "/nix/store/rm130rzpw39nvb5ig529sa0zl0qlygkl-go-1.22.12",
"default": true
}
],
"store_path": "/nix/store/frc5188kgv3ws0n999c7cy5vi2f8k4jp-go-1.22.9"
"store_path": "/nix/store/rm130rzpw39nvb5ig529sa0zl0qlygkl-go-1.22.12"
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion packages/kn-plugin-workflow/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ All the commands in this section should be performed in the monorepo root.

- Node `>= 22.13.1` _(To install, follow these instructions: https://nodejs.org/en/download/package-manager/)_
- pnpm `9.3.0` _(To install, follow these instructions: https://pnpm.io/installation)_
- Go `1.22.9` _(To install, follow these instructions: https://go.dev/doc/install)_
- Go `1.22.12` _(To install, follow these instructions: https://go.dev/doc/install)_

#### Prerequisites for running end-to-end tests

Expand Down
2 changes: 1 addition & 1 deletion repo/build-dependencies-versions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"go": "1.22.9",
"go": "1.22.12",
"java": "17",
"maven": "3.9.6",
"node": "22.13.1",
Expand Down

0 comments on commit 41e388a

Please sign in to comment.