Skip to content

Commit 1ed9301

Browse files
committed
Remove fetch-depth from GitHub workflows
Zero checks out everything. The default checks out only the latest.
1 parent 9d4a2bc commit 1ed9301

File tree

3 files changed

+0
-9
lines changed

3 files changed

+0
-9
lines changed

.github/workflows/build.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- uses: actions/checkout@v3
23-
with:
24-
fetch-depth: 0
25-
2623
- uses: actions/setup-go@v3
2724
with:
2825
go-version: "~1.19"

.github/workflows/lint.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- uses: actions/checkout@v3
22-
with:
23-
fetch-depth: 0
24-
2522
- uses: actions/setup-go@v3
2623
with:
2724
go-version: "~1.19"

.github/workflows/test.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ jobs:
2626
- windows-2022
2727
steps:
2828
- uses: actions/checkout@v3
29-
with:
30-
fetch-depth: 0
31-
3229
- uses: actions/setup-go@v3
3330
with:
3431
go-version: "~1.19"

0 commit comments

Comments
 (0)