You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: bump to Go 1.26, harden release workflow, tidy code (helm#835)
* chore: bump to Go 1.26 and golangci-lint v2.12
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
* ci: harden release workflow against script injection
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
* chore: tidy code and tests
- Drop dead rand.New init in pkg/util (Go's global source has been
auto-seeded since 1.20).
- Replace StringSliceContains helper with slices.Contains.
- Fix nil-pointer panic risk in GetRandomPort by moving defer past
the error check.
- Remove unused TestResults struct; replace with a local bool.
- Switch interface{} to any across touched files.
- Iterate strings.FieldsSeq instead of materializing a slice in
GetDeploymentsRollout.
- Tests: use t.Setenv, t.Helper, require.True/False, assert.NoError.
- Preallocate kubectlArgs slice in GetPods.
- Drop redundant err.Error() under %v in config flag-binding panic.
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
---------
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
0 commit comments