chore(deps): update github actions (master) (#2394)

Co-authored-by: Jan-Otto Kröpke <mail@jkroepke.de>
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
This commit is contained in:
renovate[bot]
2026-05-14 08:20:30 +02:00
committed by GitHub
parent 5cdb4cd2f5
commit 3df84dc09b
15 changed files with 24 additions and 32 deletions

View File

@@ -19,7 +19,6 @@ package testutils
import (
"errors"
"io"
"log/slog"
"os"
"sync"
@@ -39,7 +38,7 @@ import (
func FuncBenchmarkCollector[C collector.Collector](b *testing.B, name string, collectFunc collector.BuilderWithFlags[C], fn ...func(app *kingpin.Application)) {
b.Helper()
logger := slog.New(slog.NewTextHandler(io.Discard, nil))
logger := slog.New(slog.DiscardHandler)
app := kingpin.New("windows_exporter", "Windows metrics exporter.")
c := collectFunc(app)
@@ -74,7 +73,7 @@ func TestCollector[C collector.Collector, V any](t *testing.T, fn func(*V) C, co
err error
)
logger := slog.New(slog.NewTextHandler(io.Discard, nil))
logger := slog.New(slog.DiscardHandler)
c := fn(conf)
ch := make(chan prometheus.Metric, 10000)