Skip to content

Commit 4e1a4aa

Browse files
committed
Fix CI to fetch all commits for new-from-rev to work
1 parent 14d6622 commit 4e1a4aa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/golangci-lint.yml

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- uses: actions/checkout@v4
22+
with:
23+
fetch-depth: 0 # required for new-from-rev option to work
2224
- uses: actions/setup-go@v5
2325
with:
2426
go-version: stable

0 commit comments

Comments
 (0)