Dependencies: Bump Go to v1.24.5 (#108175)

This commit is contained in:
Matheus Macabu 2025-07-22 17:08:40 +02:00 committed by GitHub
parent 6222156c7c
commit 52f6104230
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
37 changed files with 64 additions and 64 deletions

View File

@ -1,6 +1,6 @@
module bra
go 1.24.4
go 1.24.5
tool github.com/unknwon/bra

View File

@ -1,6 +1,6 @@
module cog
go 1.24.4
go 1.24.5
tool github.com/grafana/cog/cmd/cli

View File

@ -1,6 +1,6 @@
module cue
go 1.24.4
go 1.24.5
tool cuelang.org/go/cmd/cue

View File

@ -1,6 +1,6 @@
module golangci-lint
go 1.24.4
go 1.24.5
tool github.com/golangci/golangci-lint/v2/cmd/golangci-lint

View File

@ -1,6 +1,6 @@
module jb
go 1.24.4
go 1.24.5
tool github.com/jsonnet-bundler/jsonnet-bundler/cmd/jb

View File

@ -1,6 +1,6 @@
module lefthook
go 1.24.4
go 1.24.5
tool github.com/evilmartians/lefthook

View File

@ -1,6 +1,6 @@
module swagger
go 1.24.4
go 1.24.5
tool github.com/go-swagger/go-swagger/cmd/swagger

View File

@ -25,7 +25,7 @@ steps:
depends_on: []
environment:
CGO_ENABLED: 0
image: golang:1.24.4-alpine
image: golang:1.24.5-alpine
name: compile-build-cmd
- commands:
- ./bin/build verify-drone
@ -75,7 +75,7 @@ steps:
- go install github.com/bazelbuild/buildtools/buildifier@latest
- buildifier --lint=warn -mode=check -r .
depends_on: []
image: golang:1.24.4-alpine
image: golang:1.24.5-alpine
name: lint-starlark
trigger:
event:
@ -140,7 +140,7 @@ steps:
depends_on: []
environment:
CGO_ENABLED: 0
image: golang:1.24.4-alpine
image: golang:1.24.5-alpine
name: compile-build-cmd
- commands:
- '# It is required that code generated from Thema/CUE be committed and in sync
@ -150,7 +150,7 @@ steps:
- apk add --update make
- CODEGEN_VERIFY=1 make gen-cue
depends_on: []
image: golang:1.24.4-alpine
image: golang:1.24.5-alpine
name: verify-gen-cue
- commands:
- '# It is required that generated jsonnet is committed and in sync with its inputs.'
@ -159,7 +159,7 @@ steps:
- apk add --update make
- CODEGEN_VERIFY=1 make gen-jsonnet
depends_on: []
image: golang:1.24.4-alpine
image: golang:1.24.5-alpine
name: verify-gen-jsonnet
- commands:
- yarn install --immutable || yarn install --immutable
@ -210,7 +210,7 @@ steps:
environment:
_EXPERIMENTAL_DAGGER_CLOUD_TOKEN:
from_secret: dagger_token
image: golang:1.24.4-alpine
image: golang:1.24.5-alpine
name: rgm-package
pull: always
volumes:
@ -472,7 +472,7 @@ steps:
- apk add --update make
- CODEGEN_VERIFY=1 make gen-cue
depends_on: []
image: golang:1.24.4-alpine
image: golang:1.24.5-alpine
name: verify-gen-cue
trigger:
event:
@ -542,7 +542,7 @@ steps:
- apk add --update make
- CODEGEN_VERIFY=1 make gen-cue
depends_on: []
image: golang:1.24.4-alpine
image: golang:1.24.5-alpine
name: verify-gen-cue
trigger:
branch: main
@ -609,7 +609,7 @@ steps:
depends_on: []
environment:
CGO_ENABLED: 0
image: golang:1.24.4-alpine
image: golang:1.24.5-alpine
name: compile-build-cmd
- commands:
- '# It is required that code generated from Thema/CUE be committed and in sync
@ -619,7 +619,7 @@ steps:
- apk add --update make
- CODEGEN_VERIFY=1 make gen-cue
depends_on: []
image: golang:1.24.4-alpine
image: golang:1.24.5-alpine
name: verify-gen-cue
- commands:
- '# It is required that generated jsonnet is committed and in sync with its inputs.'
@ -628,7 +628,7 @@ steps:
- apk add --update make
- CODEGEN_VERIFY=1 make gen-jsonnet
depends_on: []
image: golang:1.24.4-alpine
image: golang:1.24.5-alpine
name: verify-gen-jsonnet
- commands:
- yarn install --immutable || yarn install --immutable
@ -678,7 +678,7 @@ steps:
environment:
_EXPERIMENTAL_DAGGER_CLOUD_TOKEN:
from_secret: dagger_token
image: golang:1.24.4-alpine
image: golang:1.24.5-alpine
name: rgm-package
pull: always
volumes:
@ -1156,7 +1156,7 @@ steps:
depends_on: []
environment:
CGO_ENABLED: 0
image: golang:1.24.4-alpine
image: golang:1.24.5-alpine
name: compile-build-cmd
- commands:
- ./bin/build artifacts docker fetch --edition oss
@ -1286,7 +1286,7 @@ steps:
depends_on: []
environment:
CGO_ENABLED: 0
image: golang:1.24.4-alpine
image: golang:1.24.5-alpine
name: compile-build-cmd
- commands:
- ./bin/build artifacts docker fetch --edition oss
@ -1427,7 +1427,7 @@ steps:
depends_on: []
environment:
CGO_ENABLED: 0
image: golang:1.24.4-alpine
image: golang:1.24.5-alpine
name: compile-build-cmd
- commands:
- ./bin/build artifacts packages --artifacts-editions=oss --tag $${DRONE_TAG} --src-bucket
@ -1519,7 +1519,7 @@ steps:
depends_on: []
environment:
CGO_ENABLED: 0
image: golang:1.24.4-alpine
image: golang:1.24.5-alpine
name: compile-build-cmd
- commands:
- yarn install --immutable || yarn install --immutable
@ -1619,7 +1619,7 @@ steps:
depends_on: []
environment:
CGO_ENABLED: 0
image: golang:1.24.4-alpine
image: golang:1.24.5-alpine
name: compile-build-cmd
- depends_on:
- compile-build-cmd
@ -1716,7 +1716,7 @@ steps:
depends_on: []
environment:
CGO_ENABLED: 0
image: golang:1.24.4-alpine
image: golang:1.24.5-alpine
name: compile-build-cmd
- commands:
- ./bin/build publish grafana-com --edition oss ${DRONE_TAG}
@ -1790,7 +1790,7 @@ steps:
STORYBOOK_DESTINATION:
from_secret: rgm_storybook_destination
UBUNTU_BASE: ubuntu:22.04
image: golang:1.24.4-alpine
image: golang:1.24.5-alpine
name: rgm-build
pull: always
volumes:
@ -1867,7 +1867,7 @@ steps:
STORYBOOK_DESTINATION:
from_secret: rgm_storybook_destination
UBUNTU_BASE: ubuntu:22.04
image: golang:1.24.4-alpine
image: golang:1.24.5-alpine
name: rgm-build
pull: always
volumes:
@ -1986,7 +1986,7 @@ steps:
STORYBOOK_DESTINATION:
from_secret: rgm_storybook_destination
UBUNTU_BASE: ubuntu:22.04
image: golang:1.24.4-alpine
image: golang:1.24.5-alpine
name: rgm-build
pull: always
volumes:
@ -2093,7 +2093,7 @@ steps:
STORYBOOK_DESTINATION:
from_secret: rgm_storybook_destination
UBUNTU_BASE: ubuntu:22.04
image: golang:1.24.4-alpine
image: golang:1.24.5-alpine
name: rgm-build
pull: always
volumes:
@ -2239,7 +2239,7 @@ steps:
STORYBOOK_DESTINATION:
from_secret: rgm_storybook_destination
UBUNTU_BASE: ubuntu:22.04
image: golang:1.24.4-alpine
image: golang:1.24.5-alpine
name: rgm-publish
pull: always
volumes:
@ -2369,7 +2369,7 @@ steps:
STORYBOOK_DESTINATION:
from_secret: rgm_storybook_destination
UBUNTU_BASE: ubuntu:22.04
image: golang:1.24.4-alpine
image: golang:1.24.5-alpine
name: rgm-build
pull: always
volumes:
@ -2711,7 +2711,7 @@ steps:
- commands:
- trivy --exit-code 0 --severity UNKNOWN,LOW,MEDIUM docker:27-cli
- trivy --exit-code 0 --severity UNKNOWN,LOW,MEDIUM alpine/git:2.40.1
- trivy --exit-code 0 --severity UNKNOWN,LOW,MEDIUM golang:1.24.4-alpine
- trivy --exit-code 0 --severity UNKNOWN,LOW,MEDIUM golang:1.24.5-alpine
- trivy --exit-code 0 --severity UNKNOWN,LOW,MEDIUM node:22.16.0-alpine
- trivy --exit-code 0 --severity UNKNOWN,LOW,MEDIUM node:22-bookworm
- trivy --exit-code 0 --severity UNKNOWN,LOW,MEDIUM google/cloud-sdk:431.0.0
@ -2739,7 +2739,7 @@ steps:
- commands:
- trivy --exit-code 1 --severity HIGH,CRITICAL docker:27-cli
- trivy --exit-code 1 --severity HIGH,CRITICAL alpine/git:2.40.1
- trivy --exit-code 1 --severity HIGH,CRITICAL golang:1.24.4-alpine
- trivy --exit-code 1 --severity HIGH,CRITICAL golang:1.24.5-alpine
- trivy --exit-code 1 --severity HIGH,CRITICAL node:22.16.0-alpine
- trivy --exit-code 1 --severity HIGH,CRITICAL node:22-bookworm
- trivy --exit-code 1 --severity HIGH,CRITICAL google/cloud-sdk:431.0.0
@ -2986,6 +2986,6 @@ kind: secret
name: gcr_credentials
---
kind: signature
hmac: 70e5888d6be34ca57086672bc58d6de7de0029210e4485190571452972774e54
hmac: 30bdd468f35d41ca5594e5d13cf500ab4949ea875f6f88b5121a1254353e76b2
...

View File

@ -16,7 +16,7 @@ ARG JS_SRC=js-builder
# By using FROM instructions we can delegate dependency updates to dependabot
FROM alpine:3.21.3 AS alpine-base
FROM ubuntu:22.04 AS ubuntu-base
FROM golang:1.24.4-alpine AS go-builder-base
FROM golang:1.24.5-alpine AS go-builder-base
FROM --platform=${JS_PLATFORM} node:22-alpine AS js-builder-base
# Javascript build stage

View File

@ -9,7 +9,7 @@ include .bingo/Variables.mk
include .citools/Variables.mk
GO = go
GO_VERSION = 1.24.4
GO_VERSION = 1.24.5
GO_LINT_FILES ?= $(shell ./scripts/go-workspace/golangci-lint-includes.sh)
GO_TEST_FILES ?= $(shell ./scripts/go-workspace/test-includes.sh)
SH_FILES ?= $(shell find ./scripts -name *.sh)

View File

@ -1,6 +1,6 @@
module github.com/grafana/grafana/apps/advisor
go 1.24.4
go 1.24.5
require (
github.com/grafana/grafana-app-sdk v0.40.0

View File

@ -1,6 +1,6 @@
module github.com/grafana/grafana/apps/alerting/notifications
go 1.24.4
go 1.24.5
require (
github.com/grafana/grafana-app-sdk v0.40.0

View File

@ -1,6 +1,6 @@
module github.com/grafana/grafana/apps/dashboard
go 1.24.4
go 1.24.5
require (
cuelang.org/go v0.11.1

View File

@ -1,6 +1,6 @@
module github.com/grafana/grafana/apps/folder
go 1.24.4
go 1.24.5
require (
github.com/grafana/grafana-app-sdk v0.40.0

View File

@ -1,6 +1,6 @@
module github.com/grafana/grafana/apps/iam
go 1.24.4
go 1.24.5
require (
github.com/grafana/grafana-app-sdk v0.40.0

View File

@ -1,6 +1,6 @@
module github.com/grafana/grafana/apps/investigations
go 1.24.4
go 1.24.5
require (
github.com/grafana/grafana-app-sdk v0.40.0

View File

@ -1,6 +1,6 @@
module github.com/grafana/grafana/apps/playlist
go 1.24.4
go 1.24.5
require (
github.com/grafana/grafana-app-sdk v0.40.0

View File

@ -1,6 +1,6 @@
module github.com/grafana/grafana/apps/secret
go 1.24.4
go 1.24.5
require (
github.com/grafana/grafana-app-sdk v0.40.0

View File

@ -1,6 +1,6 @@
module high-card
go 1.24.4
go 1.24.5
require github.com/prometheus/client_golang v1.22.0

View File

@ -1,6 +1,6 @@
module utf8-support
go 1.24.4
go 1.24.5
require (
github.com/prometheus/client_golang v1.22.0

View File

@ -1,4 +1,4 @@
FROM golang:1.24.4
FROM golang:1.24.5
ADD main.go /go/src/webhook/main.go

View File

@ -167,7 +167,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.24.4
go-version: 1.24.5
- name: Verify Go version
run: go version
@ -208,7 +208,7 @@ This GitHub Action automates the deployment of a Grafana dashboard using the Fou
The first few steps:
- Check out the repository to access the project code.
- Install Go 1.24.4 using the `actions/setup-go` action.
- Install Go 1.24.5 using the `actions/setup-go` action.
- Verify Go is properly installed.
### 2. Download and install `grafanactl`

2
go.mod
View File

@ -1,6 +1,6 @@
module github.com/grafana/grafana
go 1.24.4
go 1.24.5
require (
buf.build/gen/go/parca-dev/parca/connectrpc/go v1.18.1-20250703125925-3f0fcf4bff96.1 // @grafana/observability-traces-and-profiling

View File

@ -1,4 +1,4 @@
go 1.24.4
go 1.24.5
// The `skip:golangci-lint` comment tag is used to exclude the package from the `golangci-lint` GitHub Action.
// The module at the root of the repo (`.`) is excluded because ./pkg/... is included manually in the `golangci-lint` configuration.

View File

@ -1,6 +1,6 @@
module github.com/grafana/grafana/hack
go 1.24.4
go 1.24.5
require k8s.io/code-generator v0.33.1

View File

@ -1,6 +1,6 @@
module github.com/grafana/grafana/pkg/aggregator
go 1.24.4
go 1.24.5
require (
github.com/emicklei/go-restful/v3 v3.12.1

View File

@ -1,6 +1,6 @@
module github.com/grafana/grafana/pkg/apimachinery
go 1.24.4
go 1.24.5
require (
github.com/go-jose/go-jose/v3 v3.0.4 // @grafana/identity-access-team

View File

@ -1,6 +1,6 @@
module github.com/grafana/grafana/pkg/apiserver
go 1.24.4
go 1.24.5
require (
github.com/google/go-cmp v0.7.0

View File

@ -1,6 +1,6 @@
module github.com/grafana/grafana/pkg/build
go 1.24.4
go 1.24.5
// Override docker/docker to avoid:
// go: github.com/drone-runners/drone-runner-docker@v1.8.2 requires

View File

@ -1,6 +1,6 @@
module github.com/grafana/grafana/pkg/build/wire
go 1.24.4
go 1.24.5
require (
github.com/google/go-cmp v0.7.0

View File

@ -1,6 +1,6 @@
module github.com/grafana/grafana/pkg/codegen
go 1.24.4
go 1.24.5
require (
cuelang.org/go v0.11.1

View File

@ -1,6 +1,6 @@
module github.com/grafana/grafana/pkg/plugins/codegen
go 1.24.4
go 1.24.5
replace github.com/grafana/grafana/pkg/codegen => ../../codegen

View File

@ -1,6 +1,6 @@
module github.com/grafana/grafana/pkg/promlib
go 1.24.4
go 1.24.5
require (
github.com/grafana/dskit v0.0.0-20250611075409-46f51e1ce914

View File

@ -1,6 +1,6 @@
module github.com/grafana/grafana/pkg/semconv
go 1.24.4
go 1.24.5
require go.opentelemetry.io/otel v1.37.0

View File

@ -3,7 +3,7 @@ global variables
"""
grabpl_version = "v3.1.2"
golang_version = "1.24.4"
golang_version = "1.24.5"
# nodejs_version should match what's in ".nvmrc", but without the v prefix.
nodejs_version = "22.16.0"

View File

@ -1,5 +1,5 @@
module github.com/grafana/grafana/scripts/go-workspace
go 1.24.4
go 1.24.5
require golang.org/x/mod v0.24.0

View File

@ -1,5 +1,5 @@
module github.com/grafana/grafana/scripts/modowners
go 1.24.4
go 1.24.5
require golang.org/x/mod v0.24.0