• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

gabyx / Githooks / 6711
79%

Build:
DEFAULT BRANCH: main
Ran 20 Feb 2026 06:04PM UTC
Jobs 1
Files 128
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

20 Feb 2026 05:55PM UTC coverage: 78.823% (-0.2%) from 78.997%
6711

push

circleci

web-flow
chore: linting improvements (#184)

This change request performs comprehensive linting cleanup across the Githooks codebase, modernizing code style and fixing various linting issues. The changes standardize code patterns, improve error handling, and introduce a centralized linting configuration.

**Changes:**
- Added `run_docker` wrapper function to handle Docker commands with/without sudo based on CI environment + `podman`.
- Modernized Go code: replaced `interface{}` with `any`, improved defer patterns, standardized error handling, and cleaned up return statements
- Fixed spelling errors in comments and documentation.
- Added centralized `.golangci.yaml` configuration file and updated the pre-commit hook to use it.
- Run formatting over `treefmt` in the Nix shell.

282 of 426 new or added lines in 67 files covered. (66.2%)

29 existing lines in 20 files now uncovered.

9350 of 11862 relevant lines covered (78.82%)

1745.58 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
89.19
-0.28% githooks/cmd/common/install/template-dir.go
1
98.42
0.24% githooks/cmd/list/list.go
1
78.16
0.45% githooks/container/manager-docker.go
1
86.36
-0.34% githooks/git/gitconfig-cache.go
1
82.69
-0.33% githooks/hooks/namespace-path-resolver.go
2
89.69
-0.41% githooks/cmd/common/install/install-prompts.go
2
87.74
-0.26% githooks/common/commands.go
2
59.26
-1.46% githooks/common/error-handler.go
2
16.67
0.0% githooks/common/progressbar.go
2
82.2
-0.37% githooks/hooks/hooks.go
2
86.21
-0.46% githooks/hooks/runner.go
2
77.55
-0.23% githooks/hooks/trusted.go
2
0.0
0.0% githooks/updates/download/gitea.go
2
0.0
0.0% githooks/updates/download/github.go
3
34.21
-0.79% githooks/common/json.go
3
78.71
0.0% githooks/common/log.go
3
77.01
0.0% githooks/common/logasserts.go
3
73.75
-0.02% githooks/git/gitcommon.go
3
74.75
-0.5% githooks/hooks/lfs-hooks-cache.go
3
0.0
0.0% githooks/updates/download/assets.go
3
0.0
0.0% githooks/updates/download/checksums.go
4
74.91
-1.03% githooks/hooks/wrapper.go
4
67.86
-0.73% githooks/prompt/show-impl.go
5
95.41
-0.14% githooks/cmd/installer/installer.go
6
61.73
0.23% githooks/hooks/images.go
7
0.0
0.0% githooks/common/containers.go
7
0.0
0.0% githooks/common/crypto.go
9
70.64
-0.97% githooks/cmd/config/config.go
9
0.0
0.0% githooks/cmd/installer/download-binaries.go
9
0.0
0.0% githooks/common/zip.go
9
48.78
-1.22% githooks/container/executable.go
12
0.0
0.0% githooks/common/tar.go
19
61.35
-0.19% githooks/updates/updates.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
89.69
-0.41% githooks/cmd/common/install/install-prompts.go
1
78.87
-0.86% githooks/cmd/common/install/readme.go
1
70.64
-0.97% githooks/cmd/config/config.go
1
80.5
0.88% githooks/cmd/ignore/ignore.go
1
0.0
0.0% githooks/cmd/installer/download-binaries.go
1
92.63
-0.13% githooks/cmd/shared/shared.go
1
0.0
0.0% githooks/common/containers.go
1
59.26
-1.46% githooks/common/error-handler.go
1
82.2
-0.37% githooks/hooks/hooks.go
1
74.75
-0.5% githooks/hooks/lfs-hooks-cache.go
1
67.86
-0.73% githooks/prompt/show-impl.go
1
61.35
-0.19% githooks/updates/updates.go
2
94.53
-0.15% githooks/apps/runner/runner.go
2
98.42
0.24% githooks/cmd/list/list.go
2
0.0
0.0% githooks/common/crypto.go
2
86.21
-0.46% githooks/hooks/runner.go
2
85.07
-0.5% githooks/hooks/shared.go
2
77.55
-0.23% githooks/hooks/trusted.go
2
74.91
-1.03% githooks/hooks/wrapper.go
3
95.41
-0.14% githooks/cmd/installer/installer.go
Jobs
ID Job ID Ran Files Coverage
1 6711.1 20 Feb 2026 06:04PM UTC 128
78.82
CircleCI Job
Source Files on build 6711
  • Tree
  • List 128
  • Changed 75
  • Source Changed 0
  • Coverage Changed 75
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #6711
  • 66f40396 on github
  • Prev Build on main (#6580)
  • Next Build on main (#6712)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc