Skip to content

replacing logrus with slog v1 #588

replacing logrus with slog v1

replacing logrus with slog v1 #588

Triggered via pull request December 4, 2024 18:05
Status Failure
Total duration 2m 30s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 2 warnings
lint: cmd/proxy/main.go#L90
logger.Fatal undefined (type *"github.com/gomods/athens/pkg/log".Logger has no field or method Fatal) (typecheck)
lint
issues found
build
logger.Fatal undefined (type *"github.com/gomods/athens/pkg/log".Logger has no field or method Fatal)
build
Process completed with exit code 2.
build: cmd/proxy/main.go#L90
logger.Fatal undefined (type *"github.com/gomods/athens/pkg/log".Logger has no field or method Fatal)
build: cmd/proxy/actions/basicauth_test.go#L76
cannot use lggr (variable of type *"github.com/gomods/athens/pkg/log".Logger) as "github.com/gomods/athens/pkg/log".Entry value in argument to log.SetEntryInContext: *"github.com/gomods/athens/pkg/log".Logger does not implement "github.com/gomods/athens/pkg/log".Entry (wrong type for method Debug)
build
Process completed with exit code 1.
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636