Skip to content

Comments

Update go#5033

Open
SoloJacobs wants to merge 4 commits intoprometheus:mainfrom
SoloJacobs:update-go
Open

Update go#5033
SoloJacobs wants to merge 4 commits intoprometheus:mainfrom
SoloJacobs:update-go

Conversation

@SoloJacobs
Copy link
Contributor

@SoloJacobs SoloJacobs commented Feb 22, 2026

Stacks on top of: #5029
Modeled on this PR: #4589

  • Update Go to 1.26.
  • Update minimum Go version to 1.25.0.

Pull Request Checklist

Which user-facing changes does this PR introduce?

NONE

This action has multiple flaws:

* It is redundant, since we execute `make lint` in
`.github/workflows/ci.yml`.
* It ignores `make lint`: If we want to remove our build artefacts from
the repository, then we can't run `golangci-lint` without first creating
the artefacts.
* It contains redundant logic, specific to other projects, and refers to
it being synced from https://github.com/prometheus/prometheus (which is
false. `prometheus` does not even use this action anymore).

Signed-off-by: Solomon Jacobs <solomonjacobs@protonmail.com>
* Update Go to 1.26.
* Update minimum Go version to 1.25.0.

Signed-off-by: Solomon Jacobs <solomonjacobs@protonmail.com>
This commit simply runs `golangci-lint run --fix`.

Signed-off-by: Solomon Jacobs <solomonjacobs@protonmail.com>
Copy link
Member

@SuperQ SuperQ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to update .promu.yml

Signed-off-by: Solomon Jacobs <solomonjacobs@protonmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants