Skip to content

Commit d4c22ca

Browse files
authored
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.
1 parent f850ca6 commit d4c22ca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ jobs:
3030
runs-on: ubuntu-latest
3131
steps:
3232
- uses: actions/checkout@v4
33+
with:
34+
fetch-depth: 0 # Required for go-header check https://github.com/golangci/golangci-lint/issues/2470#issuecomment-1473658471
3335
- uses: actions/setup-go@v5
3436
with:
3537
go-version-file: "go.mod"

0 commit comments

Comments
 (0)