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

supabase / auth / 33522957723
71%

Build:
DEFAULT BRANCH: master
Ran 01 Sep 2026 03:05PM UTC
Jobs 1
Files 205
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

01 Sep 2026 02:59PM UTC coverage: 71.254%. Remained the same
33522957723

push

github

web-flow
chore: add lefthook pre-commit hooks (#2768)

I noticed that we didn't have any pre-commit hooks setup, so proposing
that we add some.

I chose `lefthook` because it runs whatever command you give it without
pinning its own tool versions, which gives us a nicer way to use shared
targets.

## What kind of change does this PR introduce?
Chore

## What is the current behavior?
CI runs the linting checks. Contributors find their mistakes only after
they push a branch. The `gofmt` check lives inline in `test.yml` rather
than in a Make target, and the output instructs users to use a different
command than the one run, so nothing keeps a local check and the CI
check in sync.

## What is the new behavior?
- Added an optional `lefthook` configuration. 
- Add a `hooks` make target. It activates the hooks + builds the lint
tools.
- Added a `lint` make target to hold all of the static analysis checks,
and had `release-test` and `left hook` reference it so they share one
list.
- Added a `check-format` make target to replace the inline `gofmt` step
in `.github/workflows/test.yaml`

The hooks are optional. `CONTRIBUTING.md` has installation steps.

## Additional context
A couple notes:
- CI gets slightly stricter. The old inline `gofmt` step ran `gofmt -l`,
but its own error message said to run `gofmt -s -w` and `make format`
has always applied `-s` ([simplify](https://pkg.go.dev/cmd/gofmt)). So,
biasing in that direction seemed best. There are no changes today.
- These might be slow at first, but we can tune, and they're optional
 
Closes AUTH-1573

16233 of 22782 relevant lines covered (71.25%)

482.48 hits per line

Jobs
ID Job ID Ran Files Coverage
1 33522957723.1 01 Sep 2026 03:05PM UTC 205
71.25
GitHub Action Run
Source Files on build 33522957723
  • Tree
  • List 205
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 93a086d4 on github
  • Prev Build on master (#33506958772)
  • Next Build on master (#33531130181)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc