Skip to content

Commit 59e45d4

Browse files
authored
Checkout submodules with --depth=0 (#450)
1 parent 312f727 commit 59e45d4

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/generated_code_checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ jobs:
88
steps:
99
- name: Checkout
1010
uses: actions/checkout@v3
11-
with:
12-
submodules: true
11+
- name: Checkout submodules
12+
- run: git submodule update --init --depth=0
1313
- name: Set up Go
1414
uses: actions/setup-go@v3
1515
with:

.github/workflows/maintenance.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v3
12-
with:
13-
submodules: true
12+
- run: git submodule update --init --depth=0
1413
- uses: actions/setup-go@v3
1514
with:
1615
go-version-file: 'go.mod'

0 commit comments

Comments
 (0)