Skip to content

Commit 7a3ff60

Browse files
committed
ci: reduce git-checkout depth
1 parent ddf2dc7 commit 7a3ff60

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/ci.yml

+2
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ jobs:
4545
4646
- name: Checkout code
4747
uses: actions/checkout@v2
48+
with:
49+
fetch-depth: 1
4850

4951
- name: Cache-Go
5052
uses: actions/cache@v1

.github/workflows/lint.yml

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v2
15+
with:
16+
fetch-depth: 1
1517
- name: cgo deps
1618
run: |
1719
sudo apt-get update

0 commit comments

Comments
 (0)