Skip to content

ci: add codql

ci: add codql #7

Triggered via pull request November 8, 2024 15:17
Status Failure
Total duration 1m 10s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 1 warning
Run govulncheck
db.Init calls http2.ConnectionError.Error
Run govulncheck
cmd.main calls fmt.Sprintf, which eventually calls http2.ErrCode.String
Run govulncheck
cmd.main calls fmt.Sprintf, which eventually calls http2.FrameHeader.String
Run govulncheck
cmd.main calls fmt.Sprintf, which eventually calls http2.FrameType.String
Run govulncheck
db.Init calls http2.GoAwayError.Error
Run govulncheck
cmd.main calls fmt.Sprintf, which eventually calls http2.Setting.String
Run govulncheck
cmd.main calls fmt.Sprintf, which eventually calls http2.SettingID.String
Run govulncheck
db.Init calls http2.StreamError.Error
Run govulncheck
db.Init calls ozzo.Errors.Error, which eventually calls http2.chunkWriter.Write
Run govulncheck
db.Init calls http2.connError.Error
Lint: server/routes/routes.go#L35
unused-parameter: parameter 'c' seems to be unused, consider removing or renaming it as _ (revive)
Lint: config/config.go#L6
import 'github.com/joho/godotenv' is not allowed from list 'Main' (depguard)
Lint: db/seeders/user_seeder.go#L4
import 'echo-demo-project/models' is not allowed from list 'Main' (depguard)
Lint: db/connection.go#L4
import 'echo-demo-project/config' is not allowed from list 'Main' (depguard)
Lint: db/connection.go#L5
import 'echo-demo-project/db/seeders' is not allowed from list 'Main' (depguard)
Lint: server/server.go#L4
import 'echo-demo-project/config' is not allowed from list 'Main' (depguard)
Lint: server/server.go#L5
import 'echo-demo-project/db' is not allowed from list 'Main' (depguard)
Lint: server/server.go#L7
import 'github.com/labstack/echo/v4' is not allowed from list 'Main' (depguard)
Lint: repositories/post_reposititory.go#L4
import 'echo-demo-project/models' is not allowed from list 'Main' (depguard)
Lint: repositories/user_repository.go#L4
import 'echo-demo-project/models' is not allowed from list 'Main' (depguard)
Detect Secrets
Unexpected input(s) 'fail-on-error', valid inputs are ['entryPoint', 'args', 'github_token', 'name', 'workdir', 'filter_mode', 'fail_on_error', 'level', 'reporter', 'reviewdog_flags', 'detect_secrets_flags', 'baseline_path', 'skip_audited', 'verbose']