Skip to content

Commit 2dee221

Browse files
committed
ci: checkout only latest commit
1 parent 6ec4cb4 commit 2dee221

File tree

5 files changed

+1
-11
lines changed

5 files changed

+1
-11
lines changed

.github/workflows/deploy-docs.yml

-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- uses: actions/checkout@v4
21-
with:
22-
fetch-depth: 0
2321

2422
- uses: actions/setup-go@v5
2523
with:

.github/workflows/lint.yml

-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v4
15-
with:
16-
fetch-depth: 0
1715

1816
- uses: actions/setup-go@v5
1917
with:

.github/workflows/publish-examples.yml

-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ jobs:
1919
DOCKER_CONFIG: $HOME/.docker
2020
steps:
2121
- uses: actions/checkout@v4
22-
with:
23-
fetch-depth: 0
2422

2523
- uses: docker/login-action@v3
2624
with:

.github/workflows/release.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,7 @@ jobs:
4444
steps:
4545
- uses: actions/checkout@v4
4646
with:
47-
fetch-depth: 0
48-
49-
- run: git fetch --force --tags
47+
fetch-tags: true
5048

5149
- uses: docker/login-action@v3
5250
with:

.github/workflows/test.yml

-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v4
16-
with:
17-
fetch-depth: 0
1816

1917
- uses: actions/setup-go@v5
2018
with:

0 commit comments

Comments
 (0)