Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various CI/linting updates #10

Merged
merged 4 commits into from
Nov 1, 2024
Merged

Various CI/linting updates #10

merged 4 commits into from
Nov 1, 2024

Conversation

Preston12321
Copy link
Contributor

  • Upgrade to Go 1.23
  • Pin specific software versions in CI:
    • Ubuntu: 24.04
    • Go: 1.23
  • Update golangci-lint options:
    • Update version to latest minor release, which is v1.60
    • Disable only-new-issues, because it can cause linter issues to get missed. Really, we should require all changes to be in full compliance with lints. If the main branch is in full compliance, then the only issues that should show up on PRs will be the ones added in that change anyways.
  • Change list of excluded linters:
    • Add deprecated linters that will be removed in a future release of golangci-lint:
      • execinquery
      • exportloopref
      • gomnd
    • Remove linters that have already been removed from golangci-lint:
      • maligned
      • scopelint
      • typecheck

@Preston12321 Preston12321 requested a review from a team as a code owner October 31, 2024 20:27
@Preston12321 Preston12321 requested review from beautifulentropy and removed request for a team October 31, 2024 20:27
aarongable
aarongable previously approved these changes Oct 31, 2024
@mcpherrinm
Copy link

you could also bump the go version in go.mod. Some new go features or behaviour changes gate on that version

@Preston12321 Preston12321 merged commit d747345 into main Nov 1, 2024
1 check passed
@Preston12321 Preston12321 deleted the linting-updates branch November 1, 2024 17:43
jefferyq2 pushed a commit to jefferyq2/gorepotemplate that referenced this pull request Nov 5, 2024
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.

3 participants