Skip to content

Commit 2689e47

Browse files
authored
chore: update Go to v1.26.1 (#3516)
Refs: CNFCERT-1370
1 parent d220c6b commit 2689e47

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ targetCrdFilters:
147147
## Development Guidelines
148148
149149
### Go Version
150-
This repository uses Go 1.26.0. Ensure your local environment matches this version.
150+
This repository uses Go 1.26.1. Ensure your local environment matches this version.
151151
152152
### Testing and Mocks
153153
The codebase uses native Go structs for mocking interfaces in tests. Mock implementations are hand-written and located alongside the interfaces they mock (e.g., `internal/clientsholder/command_mock.go`). This approach avoids external dependencies and makes the code easier to understand and maintain.

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ RUN \
2222
ENV \
2323
GO_DL_URL=https://golang.org/dl \
2424
GOPATH=/root/go
25-
ENV GO_BIN_URL_x86_64=${GO_DL_URL}/go1.26.0.linux-amd64.tar.gz
26-
ENV GO_BIN_URL_aarch64=${GO_DL_URL}/go1.26.0.linux-arm64.tar.gz
25+
ENV GO_BIN_URL_x86_64=${GO_DL_URL}/go1.26.1.linux-amd64.tar.gz
26+
ENV GO_BIN_URL_aarch64=${GO_DL_URL}/go1.26.1.linux-arm64.tar.gz
2727

2828
# Determine the CPU architecture and download the appropriate Go binary
2929
# We only build our binaries on x86_64 and aarch64 platforms, so it is not necessary
@@ -32,11 +32,11 @@ RUN \
3232
if [ "$(uname -m)" = x86_64 ]; then \
3333
wget --directory-prefix=${TEMP_DIR} ${GO_BIN_URL_x86_64} --quiet \
3434
&& rm -rf /usr/local/go \
35-
&& tar -C /usr/local -xzf ${TEMP_DIR}/go1.26.0.linux-amd64.tar.gz; \
35+
&& tar -C /usr/local -xzf ${TEMP_DIR}/go1.26.1.linux-amd64.tar.gz; \
3636
elif [ "$(uname -m)" = aarch64 ]; then \
3737
wget --directory-prefix=${TEMP_DIR} ${GO_BIN_URL_aarch64} --quiet \
3838
&& rm -rf /usr/local/go \
39-
&& tar -C /usr/local -xzf ${TEMP_DIR}/go1.26.0.linux-arm64.tar.gz; \
39+
&& tar -C /usr/local -xzf ${TEMP_DIR}/go1.26.1.linux-arm64.tar.gz; \
4040
else \
4141
echo "CPU architecture is not supported." && exit 1; \
4242
fi

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/redhat-best-practices-for-k8s/certsuite
22

3-
go 1.26.0
3+
go 1.26.1
44

55
require (
66
github.com/Masterminds/semver/v3 v3.4.0

0 commit comments

Comments
 (0)