Bump golangci-lint to 1.61.0

This commit is contained in:
Joshua Casey
2024-09-10 15:14:53 -05:00
parent 8ee08050cc
commit 702d5bdc01
6 changed files with 5 additions and 6 deletions

View File

@@ -28,7 +28,7 @@ func TestMain(m *testing.M) {
func splitIntegrationTestsIntoBuckets(m *testing.M) {
// this is some dark magic to set a private field
testsField := reflect.ValueOf(m).Elem().FieldByName("tests")
testsPointer := (*[]testing.InternalTest)(unsafe.Pointer(testsField.UnsafeAddr())) //nolint:gosec // this is a test hack we are willing to live with
testsPointer := (*[]testing.InternalTest)(unsafe.Pointer(testsField.UnsafeAddr()))
tests := *testsPointer