Skip to content

Add middleware system for jobs #1023

Add middleware system for jobs

Add middleware system for jobs #1023

Triggered via pull request October 5, 2024 19:15
Status Failure
Total duration 2m 9s
Artifacts

ci.yaml

on: pull_request
lint
21s
lint
migration_and_sqlc_verify
9s
migration_and_sqlc_verify
submodule_check
19s
submodule_check
Matrix: build_and_test
Matrix: cli
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 4 warnings
lint: job_executor.go#L223
appendAssign: append result not assigned to the same slice (gocritic)
lint: client.go#L242
Duplicate words (around) found (dupword)
lint: client_test.go#L610
type assertion must be checked (forcetypeassert)
lint: client_test.go#L638
type assertion must be checked (forcetypeassert)
lint: work_unit_wrapper.go#L48
interface method Middleware must have all named params (inamedparam)
lint: client_test.go#L602
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
lint: client_test.go#L648
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
lint
Process completed with exit code 2.
submodule_check
Restore cache failed: Dependencies file is not found in /home/runner/work/river/river. Supported file pattern: go.sum
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/river/river. Supported file pattern: go.sum
cli (ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/river/river. Supported file pattern: go.sum
cli (windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\river\river. Supported file pattern: go.sum