Skip to content
Triggered via push July 13, 2023 18:54
Status Success
Total duration 47s
Artifacts

lint-soft.yml

on: push
lint-soft
36s
lint-soft
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
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: git/patch.go#L135
Comment should end in a period (godot)
lint-soft: server/lfs/lock.go#L37
Comment should end in a period (godot)
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/config/config.go#L138
server/config/config.go:138: Line contains TODO/BUG/FIXME: "TODO: do this dynamically" (godox)
lint-soft: server/hooks/gen.go#L32
server/hooks/gen.go:32: Line contains TODO/BUG/FIXME: "TODO: support context." (godox)
lint-soft: server/hooks/gen.go#L34
server/hooks/gen.go:34: Line contains TODO/BUG/FIXME: "TODO: support git hook tests." (godox)
lint-soft
Restore cache failed: Dependencies file is not found in /home/runner/work/soft-serve/soft-serve. Supported file pattern: go.sum
lint-soft: server/cron/cron.go#L12
exported: type name will be used as cron.CronScheduler by other packages, and that stutters; consider calling this Scheduler (revive)
lint-soft: git/commit.go#L8
exported: exported var ZeroHash should have comment or be unexported (revive)
lint-soft: server/stats/stats.go#L13
exported: type name will be used as stats.StatsServer by other packages, and that stutters; consider calling this Server (revive)
lint-soft: server/db/logger.go#L17
exported: exported method DB.Select should have comment or be unexported (revive)
lint-soft: server/db/logger.go#L22
exported: exported method DB.Get should have comment or be unexported (revive)
lint-soft: server/db/logger.go#L27
exported: exported method DB.Queryx should have comment or be unexported (revive)
lint-soft: server/db/logger.go#L32
exported: exported method DB.QueryRowx should have comment or be unexported (revive)
lint-soft: server/db/logger.go#L37
exported: exported method DB.Exec should have comment or be unexported (revive)
lint-soft: server/db/logger.go#L42
exported: exported method DB.SelectContext should have comment or be unexported (revive)
lint-soft: server/db/logger.go#L47
exported: exported method DB.GetContext should have comment or be unexported (revive)