Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

feat: Create Dlq job api witht testing #655

feat: Create Dlq job api witht testing

feat: Create Dlq job api witht testing #655

Triggered via push October 18, 2023 02:49
Status Failure
Total duration 30s
Artifacts

lint.yml

on: push
golangci-lint
21s
golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
golangci-lint: internal/server/middlewares.go#L1
: # github.com/goto/dex/internal/server
golangci-lint: internal/server/server.go#L66
cannot use dlqConfig (variable of type *dlq.DlqJobConfig) as dlq.DlqJobConfig value in argument to dlqv1.Routes (typecheck)
golangci-lint: cli/server/server.go#L17
could not import github.com/goto/dex/internal/server (-: # github.com/goto/dex/internal/server
golangci-lint: internal/server/server.go#L66
cannot use dlqConfig (variable of type *dlq.DlqJobConfig) as dlq.DlqJobConfig value in argument to dlqv1.Routes) (typecheck)
golangci-lint: internal/server/v1/dlq/service_test.go#L9
File is not `gci`-ed with --skip-generated -s standard,default,prefix(github.com/goto/dex) (gci)
golangci-lint: internal/server/v1/dlq/service_test.go#L15
File is not `gci`-ed with --skip-generated -s standard,default,prefix(github.com/goto/dex) (gci)
golangci-lint: internal/server/v1/dlq/handler_test.go#L204
var-naming: don't use underscores in Go names; var resource_id should be resourceID (revive)
golangci-lint: internal/server/v1/dlq/handler_test.go#L205
var-naming: don't use underscores in Go names; var resource_type should be resourceType (revive)
golangci-lint: internal/server/v1/dlq/handler_test.go#L206
var-naming: don't use underscores in Go names; var error_types should be errorTypes (revive)
golangci-lint: internal/server/v1/dlq/handler_test.go#L208
var-naming: don't use underscores in Go names; var batch_size should be batchSize (revive)
golangci-lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
golangci-lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
golangci-lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/