Skip to content

The mediator pattern implementation #70

The mediator pattern implementation

The mediator pattern implementation #70

Triggered via pull request May 29, 2024 09:06
@comeuplatercomeuplater
synchronize #21
mediator
Status Failure
Total duration 51s
Artifacts

deploy-main.yml

on: pull_request
lint
32s
lint
Deploy Archi report HTML to GitHub Pages
16s
Deploy Archi report HTML to GitHub Pages
Matrix: Execute tests
Fit to window
Zoom out
Zoom in

Annotations

17 errors and 1 warning
lint: grade/internal/infrastructure/seedwork/mediator/untyped_test.go#L229
Error return value of `m.Register` is not checked (errcheck)
lint: grade/internal/infrastructure/seedwork/mediator/untyped_test.go#L231
Error return value of `m.Subscribe` is not checked (errcheck)
lint: grade/internal/infrastructure/seedwork/mediator/untyped_test.go#L232
Error return value of `m.Subscribe` is not checked (errcheck)
lint: grade/internal/infrastructure/seedwork/mediator/reflection.go#L32
paramTypeCombine: func(initiator any, handler any) error could be replaced with func(initiator, handler any) error (gocritic)
lint: grade/internal/infrastructure/seedwork/mediator/untyped.go#L48
paramTypeCombine: func(command any, handler any) (disposable.Disposable, error) could be replaced with func(command, handler any) (disposable.Disposable, error) (gocritic)
lint: grade/internal/infrastructure/seedwork/mediator/untyped.go#L72
paramTypeCombine: func(event any, handler any) (disposable.Disposable, error) could be replaced with func(event, handler any) (disposable.Disposable, error) (gocritic)
lint: grade/internal/infrastructure/seedwork/mediator/untyped.go#L93
paramTypeCombine: func(event any, handler any) could be replaced with func(event, handler any) (gocritic)
lint: grade/internal/infrastructure/seedwork/mediator/untyped_test.go#L14
field `name` is unused (unused)
lint: grade/internal/infrastructure/seedwork/mediator/untyped_test.go#L17
field `name` is unused (unused)
lint: grade/internal/infrastructure/seedwork/mediator/untyped.go#L109
S1005: unnecessary assignment to the blank identifier (gosimple)
Execute tests (1.21.x)
Process completed with exit code 1.
Execute tests (1.20)
The job was canceled because "_1_21_x" failed.
Execute tests (1.20)
Process completed with exit code 1.
Execute tests (1.19)
The job was canceled because "_1_21_x" failed.
Execute tests (1.19)
Process completed with exit code 1.
Execute tests (1.18)
The job was canceled because "_1_21_x" failed.
Execute tests (1.18)
The operation was canceled.
Execute tests (1.21.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.