chore: stochastic gradient descent to fix goheader (#196)

## Why this should be merged

Avoids false positives from `goheader`.

## How this works

Checks out entire history to give the linter a reference point for new
issues only.

## How this was tested

With great frustration by waiting for CI.
This commit is contained in:
Arran Schlosberg 2025-06-23 16:52:20 +01:00 committed by GitHub
parent f850ca6bfe
commit d4c22ca34b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -30,6 +30,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Required for go-header check https://github.com/golangci/golangci-lint/issues/2470#issuecomment-1473658471
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"