Skip to content

[MAINT] Upgrade golangci-lint v2.10 & go to 1.26#3244

Merged
stevehipwell merged 11 commits intointegrations:mainfrom
F-Secure-web:upgrade-golangci-lint-v2.10
Mar 15, 2026
Merged

[MAINT] Upgrade golangci-lint v2.10 & go to 1.26#3244
stevehipwell merged 11 commits intointegrations:mainfrom
F-Secure-web:upgrade-golangci-lint-v2.10

Conversation

@deiga
Copy link
Copy Markdown
Collaborator

@deiga deiga commented Mar 1, 2026


After the change?

  • Removes website-lint make target as it's not necessary
  • Removes deprecated misspell tool, golangci-lint has it's internal misspell
  • Stop linter failing if there are other linter processes running
  • Upgrade golangci-lint to v2.10.1
  • Fix linter warnings

Pull request checklist

  • Schema migrations have been created if needed (example)
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)

Does this introduce a breaking change?

Please see our docs on breaking changes to help!

  • Yes
  • No

deiga added 6 commits March 1, 2026 09:28
We don't use it and that version is deprecated

Signed-off-by: Timo Sand <[email protected]>
Signed-off-by: Timo Sand <[email protected]>
Since `make build` calls `make lintcheck`

Signed-off-by: Timo Sand <[email protected]>
@deiga deiga requested review from nickfloyd and stevehipwell March 1, 2026 08:14
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 1, 2026

👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labeled with Status: Up for grabs. You & others like you are the reason all of this works! So thank you & happy coding! 🚀

@deiga deiga added this to the v6.12.0 Release milestone Mar 1, 2026
stevehipwell
stevehipwell previously approved these changes Mar 2, 2026
Copy link
Copy Markdown
Collaborator

@stevehipwell stevehipwell left a comment

Choose a reason for hiding this comment

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

LGTM

@stevehipwell stevehipwell added the Type: Maintenance Any dependency, housekeeping, and clean up Issue or PR label Mar 2, 2026
Signed-off-by: Timo Sand <[email protected]>
@deiga
Copy link
Copy Markdown
Collaborator Author

deiga commented Mar 4, 2026

@stevehipwell For CI to pass I needed to update go.mod to 1.25, could you re-review

@stevehipwell
Copy link
Copy Markdown
Collaborator

Do we want to go to 1.26? This isn't a library so I see no reason to hold back.

@deiga
Copy link
Copy Markdown
Collaborator Author

deiga commented Mar 4, 2026

Do we want to go to 1.26? This isn't a library so I see no reason to hold back.

Works for me, I'll push it

@deiga deiga mentioned this pull request Mar 4, 2026
5 tasks
@deiga deiga requested a review from stevehipwell March 5, 2026 22:53
stevehipwell
stevehipwell previously approved these changes Mar 6, 2026
Copy link
Copy Markdown
Collaborator

@stevehipwell stevehipwell left a comment

Choose a reason for hiding this comment

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

LGTM

@deiga deiga changed the title [MAINT] Upgrade golangci-lint v2.10 [MAINT] Upgrade golangci-lint v2.10 & go to 1.26 Mar 6, 2026
@deiga deiga dismissed stale reviews from robert-crandall and stevehipwell via 4a1e6da March 15, 2026 18:07
@deiga deiga requested a review from stevehipwell March 15, 2026 18:14
Copy link
Copy Markdown
Collaborator

@stevehipwell stevehipwell left a comment

Choose a reason for hiding this comment

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

LGTM

@stevehipwell stevehipwell merged commit e57f353 into integrations:main Mar 15, 2026
7 checks passed
austenstone pushed a commit to austenstone/terraform-provider-github that referenced this pull request Mar 20, 2026
* Remove `misspell`

We don't use it and that version is deprecated

Signed-off-by: Timo Sand <[email protected]>

* Stop linter failing if there are other linter processes running

Signed-off-by: Timo Sand <[email protected]>

* Upgrade golangci-lint to v2.10.1

Signed-off-by: Timo Sand <[email protected]>

* Fix linter warnings

Signed-off-by: Timo Sand <[email protected]>

* Remove mentions of `website-lint`

Signed-off-by: Timo Sand <[email protected]>

* Remove unnecessary `make lintcheck` in `ci.yaml`

Since `make build` calls `make lintcheck`

Signed-off-by: Timo Sand <[email protected]>

* Upgrade to go 1.25

Signed-off-by: Timo Sand <[email protected]>

* Update `go` to v1.26

Signed-off-by: Timo Sand <[email protected]>

* Run `go fix` and remove unused funcs

Signed-off-by: Timo Sand <[email protected]>

* Update Terraform version requirement in README

* Update Terraform version requirement in README

---------

Signed-off-by: Timo Sand <[email protected]>
JiayangZhou pushed a commit to JiayangZhou/terraform-provider-github that referenced this pull request Apr 16, 2026
* Remove `misspell`

We don't use it and that version is deprecated

Signed-off-by: Timo Sand <[email protected]>

* Stop linter failing if there are other linter processes running

Signed-off-by: Timo Sand <[email protected]>

* Upgrade golangci-lint to v2.10.1

Signed-off-by: Timo Sand <[email protected]>

* Fix linter warnings

Signed-off-by: Timo Sand <[email protected]>

* Remove mentions of `website-lint`

Signed-off-by: Timo Sand <[email protected]>

* Remove unnecessary `make lintcheck` in `ci.yaml`

Since `make build` calls `make lintcheck`

Signed-off-by: Timo Sand <[email protected]>

* Upgrade to go 1.25

Signed-off-by: Timo Sand <[email protected]>

* Update `go` to v1.26

Signed-off-by: Timo Sand <[email protected]>

* Run `go fix` and remove unused funcs

Signed-off-by: Timo Sand <[email protected]>

* Update Terraform version requirement in README

* Update Terraform version requirement in README

---------

Signed-off-by: Timo Sand <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Maintenance Any dependency, housekeeping, and clean up Issue or PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants