Add configurable concurrency & parallelism to checks #230
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
10 errors and 1 warning
golangci:
pkg/service/json.go#L34
don't use `init` function (gochecknoinits)
|
golangci:
pkg/database/mysql.go#L50
cognitive complexity 37 of func `(*MySQL).Connect` is high (> 30) (gocognit)
|
golangci:
pkg/database/postgres.go#L52
cognitive complexity 35 of func `(*Postgres).Connect` is high (> 30) (gocognit)
|
golangci:
pkg/service/auth.go#L76
cognitive complexity 63 of func `ApiKeyAndSessionAuthMiddleware` is high (> 30) (gocognit)
|
golangci:
pkg/service/middleware.go#L167
cognitive complexity 58 of func `ListMiddleware` is high (> 30) (gocognit)
|
golangci:
pkg/authz/wookie/service.go#L97
cognitive complexity 31 of func `(WookieService).WookieSafeRead` is high (> 30) (gocognit)
|
golangci:
pkg/authz/objecttype/postgres.go#L147
cognitive complexity 48 of func `(PostgresRepository).List` is high (> 30) (gocognit)
|
golangci:
pkg/authz/objecttype/mysql.go#L148
cognitive complexity 47 of func `(MySQLRepository).List` is high (> 30) (gocognit)
|
golangci:
pkg/authz/objecttype/sqlite.go#L152
cognitive complexity 47 of func `(SQLiteRepository).List` is high (> 30) (gocognit)
|
golangci:
pkg/authz/object/sqlite.go#L123
cognitive complexity 54 of func `(SQLiteRepository).List` is high (> 30) (gocognit)
|
ci
Restore cache failed: Dependencies file is not found in /home/runner/work/warrant/warrant. Supported file pattern: go.sum
|