Skip to content

feat(cli): upgraded golangci-lint to v2.11#1374

Merged
rubenhoenle merged 3 commits intomainfrom
feature/upgrade-golangci-lint-to-v2.11.2
Apr 21, 2026
Merged

feat(cli): upgraded golangci-lint to v2.11#1374
rubenhoenle merged 3 commits intomainfrom
feature/upgrade-golangci-lint-to-v2.11.2

Conversation

@Manuelvaas
Copy link
Copy Markdown
Contributor

Description

relates to STACKITTPR-254

Checklist

  • Issue was linked above
  • Code format was applied: make fmt
  • Examples were added / adjusted (see e.g. here)
  • Docs are up-to-date: make generate-docs (will be checked by CI)
  • Unit tests got implemented or updated
  • Unit tests are passing: make test (will be checked by CI)
  • No linter issues: make lint (will be checked by CI)

@Manuelvaas Manuelvaas requested a review from a team as a code owner April 20, 2026 18:25
@Manuelvaas Manuelvaas force-pushed the feature/upgrade-golangci-lint-to-v2.11.2 branch from 2639252 to 9f8efe9 Compare April 20, 2026 18:27
@Manuelvaas Manuelvaas changed the title feat(cli): upgraded golangci-lint to v2.11.2 feat(cli): upgraded golangci-lint to v2.11.4 Apr 20, 2026
@Manuelvaas Manuelvaas changed the title feat(cli): upgraded golangci-lint to v2.11.4 feat(cli): upgraded golangci-lint to v2.11 Apr 20, 2026
@github-actions
Copy link
Copy Markdown

Merging this branch will decrease overall coverage

Impacted Packages Coverage Δ 🤖
github.com/stackitcloud/stackit-cli/internal/pkg/auth 55.45% (ø)
github.com/stackitcloud/stackit-cli/internal/pkg/print 74.39% (-0.92%) 👎
github.com/stackitcloud/stackit-cli/internal/pkg/services/serverbackup/utils 90.91% (ø)

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/stackitcloud/stackit-cli/internal/pkg/auth/user_login.go 0.00% (ø) 165 0 165
github.com/stackitcloud/stackit-cli/internal/pkg/auth/user_token_flow.go 86.41% (ø) 103 89 14
github.com/stackitcloud/stackit-cli/internal/pkg/print/print.go 68.97% (-1.83%) 116 (+3) 80 36 (+3) 👎
github.com/stackitcloud/stackit-cli/internal/pkg/services/serverbackup/utils/utils.go 90.91% (ø) 11 10 1

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

Changed unit test files

  • github.com/stackitcloud/stackit-cli/internal/pkg/auth/auth_test.go
  • github.com/stackitcloud/stackit-cli/internal/pkg/auth/exchange_test.go
  • github.com/stackitcloud/stackit-cli/internal/pkg/auth/user_token_flow_test.go
  • github.com/stackitcloud/stackit-cli/internal/pkg/auth/utils_test.go

@rubenhoenle rubenhoenle merged commit 32826e6 into main Apr 21, 2026
3 checks passed
@rubenhoenle rubenhoenle deleted the feature/upgrade-golangci-lint-to-v2.11.2 branch April 21, 2026 08:50
j1n-o9r pushed a commit to j1n-o9r/stackit-cli that referenced this pull request Apr 22, 2026
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