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

fix: mapper

fix: mapper #661

Triggered via push October 18, 2023 09:27
Status Failure
Total duration 42s
Artifacts

lint.yml

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

Annotations

10 errors and 3 warnings
golangci-lint: cli/server/configs.go#L1
: # github.com/goto/dex/cli/server
golangci-lint: cli/server/server.go#L120
cannot use dlqConfig (variable of type *dlq.DlqJobConfig) as dlq.DlqJobConfig value in argument to server.Serve (typecheck)
golangci-lint: cli/cli.go#L14
could not import github.com/goto/dex/cli/server (-: # github.com/goto/dex/cli/server
golangci-lint: cli/server/server.go#L120
cannot use dlqConfig (variable of type *dlq.DlqJobConfig) as dlq.DlqJobConfig value in argument to server.Serve) (typecheck)
golangci-lint: internal/server/v1/dlq/handler.go#L94
`entorpy` is a misspelling of `entropy` (misspell)
golangci-lint: internal/server/v1/dlq/handler_test.go#L203
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#L204
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#L205
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#L207
var-naming: don't use underscores in Go names; var batch_size should be batchSize (revive)
golangci-lint: internal/server/v1/dlq/handler_test.go#L208
var-naming: don't use underscores in Go names; var num_threads should be numThreads (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/