CI: bump lint version and update configuration (#2901)

* bump golangci-lint to 1.56

* lint (testifylint)

* update lint configuration

* windows test: remove stale code
This commit is contained in:
mmetc 2024-03-19 10:48:49 +01:00 committed by GitHub
parent b63e64ee9f
commit dd71f0a866
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 33 additions and 29 deletions

View file

@ -151,7 +151,7 @@ func TestCreateAlertChannels(t *testing.T) {
wg.Done()
}()
go lapi.InsertAlertFromFile(t, "./tests/alert_ssh-bf.json")
lapi.InsertAlertFromFile(t, "./tests/alert_ssh-bf.json")
wg.Wait()
assert.Len(t, pd.Alert.Decisions, 1)
apiServer.Close()