Skip to content

refactor: implement database module and abstract backend #15

refactor: implement database module and abstract backend

refactor: implement database module and abstract backend #15

Triggered via pull request July 14, 2023 17:57
@aymanbagabasaymanbagabas
synchronize #337
db
Status Success
Total duration 29s
Artifacts

lint-soft.yml

on: pull_request
lint-soft
18s
lint-soft
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint-soft: server/db/migrate/0001_create_tables.go#L30
string `sqlite3` has 4 occurrences, make it a constant (goconst)
lint-soft: server/db/migrate/0001_create_tables.go#L97
string `postgres` has 3 occurrences, make it a constant (goconst)
lint-soft: server/backend/user.go#L275
Comment should end in a period (godot)
lint-soft: server/backend/user.go#L280
Comment should end in a period (godot)
lint-soft: server/backend/user.go#L285
Comment should end in a period (godot)
lint-soft: server/hooks/gen.go#L31
server/hooks/gen.go:31: Line contains TODO/BUG/FIXME: "TODO: support context." (godox)
lint-soft: server/hooks/gen.go#L33
server/hooks/gen.go:33: Line contains TODO/BUG/FIXME: "TODO: support git hook tests." (godox)
lint-soft: server/backend/backend.go#L36
server/backend/backend.go:36: Line contains TODO/BUG/FIXME: "TODO: implement a proper caching interfa..." (godox)
lint-soft: server/backend/cache.go#L5
server/backend/cache.go:5: Line contains TODO/BUG/FIXME: "TODO: implement a caching interface." (godox)
lint-soft: server/web/git.go#L242
server/web/git.go:242: Line contains TODO/BUG/FIXME: "TODO: add the rest of env vars when we s..." (godox)
lint-soft
Restore cache failed: Dependencies file is not found in /home/runner/work/soft-serve/soft-serve. Supported file pattern: go.sum