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

evilmartians / lefthook / 8262458452
75%

Build:
DEFAULT BRANCH: master
Ran 13 Mar 2024 09:37AM CUT
Jobs 6
Files 42
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

13 Mar 2024 09:36AM CUT coverage: 78.228%. First build
8262458452

push

github

web-flow
chore: add more linters, address findings (#670)

* chore(golangci-lint): remove gofmt, subset of gofumpt

* chore(golangci-lint): enable most gocritic performance checks

Many of them also promote clean, idiomatic code.

* fix: appending to non-zero length initialized arrays

Per makezero linter findings.

* chore(typos): accept decorder (the golangci-lint linter)

* chore(golangci-lint): add some useful linters with no current findings

* chore(golangci-lint): upgrade to 1.56.2

* perf: address perfsprint linter findings

Enable the linter, but exclude fmt.Sprintf -> concatenation, as the
former is arguably often more readable.

* style: sort struct tags alphabetically

Per the tagalign linter autofix.

* fix: siplify skip_output and output logic

---------

Co-authored-by: Valentin Kiselev <mrexox@evilmartians.com>

96 of 96 new or added lines in 4 files covered. (100.0%)

2393 of 3059 relevant lines covered (78.23%)

3.63 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1.21.x ubuntu-latest - 8262458452.1 13 Mar 2024 09:37AM CUT 28
52.42
GitHub Action Run
2 integration-1.21.x ubuntu-latest - 8262458452.2 13 Mar 2024 09:37AM CUT 41
67.15
GitHub Action Run
3 1.21.x macos-latest - 8262458452.3 13 Mar 2024 09:37AM CUT 28
52.42
GitHub Action Run
4 1.21.x windows-latest - 8262458452.4 13 Mar 2024 09:40AM CUT 28
52.42
GitHub Action Run
5 integration-1.21.x macos-latest - 8262458452.5 13 Mar 2024 09:38AM CUT 41
67.15
GitHub Action Run
6 integration-1.21.x windows-latest - 8262458452.6 13 Mar 2024 09:40AM CUT 41
57.25
GitHub Action Run
Source Files on build 8262458452
  • Tree
  • List 42
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/Line
36.36
internal/git/lfs.go34 11 4 7 3.0
40.0
internal/lefthook/dump.go29 15 6 9 2.0
53.73
internal/lefthook/run/exec/execute_unix.go110 67 36 31 2.0
58.57
internal/git/remote.go107 70 41 29 2.0
60.0
internal/config/files.go16 5 3 2 3.0
60.0
internal/config/remote.go16 5 3 2 5.0
62.75
internal/lefthook/run/exec/execute_windows.go81 51 32 19 1.0
64.0
internal/lefthook/run/prepare_script.go44 25 16 9 6.0
66.0
internal/git/state.go82 50 33 17 3.0
67.35
internal/version/version.go87 49 33 16 3.0
Showing 1 to 10 of 42 entries
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • Next
  • ►
    88.8
    cmd/
  • ►
    77.3
    internal/
  • Back to Repo
  • Github Actions Build #8262458452
  • 15190c85 on github
  • Prev Build on master (#8261164357)
  • Next Build on master (#8276908517)
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

© 2025 Coveralls, Inc