Skip to content

Commit

Permalink
ci: checkout only latest commit
Browse files Browse the repository at this point in the history
  • Loading branch information
majori committed Apr 2, 2024
1 parent 6ec4cb4 commit 2dee221
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 11 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/setup-go@v5
with:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/setup-go@v5
with:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/publish-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ jobs:
DOCKER_CONFIG: $HOME/.docker
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: docker/login-action@v3
with:
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- run: git fetch --force --tags
fetch-tags: true

- uses: docker/login-action@v3
with:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/setup-go@v5
with:
Expand Down

0 comments on commit 2dee221

Please sign in to comment.