Skip to content

Conversation

rodrigo-pino
Copy link
Contributor

No description provided.

uses: golangci/golangci-lint-action@v8
with:
version: v2.4.0
version: latest
Copy link
Collaborator

@thiagodeev thiagodeev Oct 7, 2025

Choose a reason for hiding this comment

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

I disagree with this change.

Arguments:

  • We will be susceptible to a supply chain attack if a future version of the linter is compromised, since our CI will always get the latest release, even though it's compromised.
  • Incompatible new versions could break our workflow. E.g.: when golangci v3.0.0 is released, we'll fetch it and break our CI

It's a good practice to use fixed versions and update after

WDYT?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

  1. The attack comes from using golangci/golangci-lines-action@v8, not from setting latest. I think it creates more hassle and hurts readability. Take Copilot comments with a pinch of salt.
  2. What's the big deal with out CI breaking when golangci v3.0.0 releases? We then make the decision to update to v3.0.0 or set a different one.

Start to implement the new rules in the lint diff file
…h it

- Fix part of the linter errors triggered by it. Others will be fixed in a next commit
- Updated changelog with the changes
…erences

- Updated changelog to reflect these changes.
@github-project-automation github-project-automation bot moved this to 👀 In review in [Nubia] Starknet.go Oct 13, 2025
@thiagodeev thiagodeev merged commit 260e497 into main Oct 13, 2025
8 checks passed
@thiagodeev thiagodeev deleted the rdr/update-linters branch October 13, 2025 19:10
@github-project-automation github-project-automation bot moved this from 👀 In review to ✅ Done in [Nubia] Starknet.go Oct 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

2 participants