Skip to content

Commit

Permalink
remove fetch-depth
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Su <[email protected]>
  • Loading branch information
pingsutw committed Apr 30, 2024
1 parent b764326 commit 1548789
Show file tree
Hide file tree
Showing 11 changed files with 1 addition and 37 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ jobs:

steps:
- name: Checkout
- uses: actions/checkout@v4
with:
fetch-depth: "0"
uses: actions/checkout@v4
- name: Codespell
uses: codespell-project/actions-codespell@v2
with:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/component_docker_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: "0"
- id: load-docker-cache
name: Load Docker Cache
uses: actions/cache@v3
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/end2end.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ jobs:
echo "FLYTESNACKS_VERSION=${FLYTESNACKS_VERSION}" >> ${GITHUB_ENV}
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: "0"
- uses: unionai/[email protected]
name: Setup flytectl
- uses: actions/setup-python@v3
Expand Down Expand Up @@ -78,7 +76,6 @@ jobs:
repository: flyteorg/flytesnacks
path: flytesnacks
ref: ${{ env.FLYTESNACKS_VERSION }}
fetch-depth: "0"
- name: Register P0 tests
if: ${{ inputs.priorities == 'P0' }}
run: |
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/flyteidl-buf-publish.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: bufbuild/buf-setup-action@v1
- uses: bufbuild/buf-push-action@v1
with:
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/flyteidl-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ jobs:
working-directory: flyteidl
steps:
- uses: actions/checkout@v4
with:
fetch-depth: "0"
- name: Set up Python
uses: actions/setup-python@v1
with:
Expand All @@ -36,8 +34,6 @@ jobs:
working-directory: flyteidl
steps:
- uses: actions/checkout@v4
with:
fetch-depth: "0"
- uses: actions/setup-node@v1
with:
node-version: "12.x"
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/go_generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ jobs:
working-directory: ${{ inputs.component }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: "0"
- uses: arduino/setup-protoc@v1
with:
repo-token: ${{ secrets.FLYTE_BOT_PAT }}
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: "0"
- name: Set up Go
uses: actions/setup-go@v3
with:
Expand Down
9 changes: 0 additions & 9 deletions .github/workflows/single-binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: "0"
- uses: actions/setup-go@v3
with:
go-version: "1.21"
Expand All @@ -41,8 +39,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: "0"
- name: Setup Golang caches
uses: actions/cache@v3
with:
Expand Down Expand Up @@ -137,8 +133,6 @@ jobs:
echo "FLYTESNACKS_VERSION=${FLYTESNACKS_VERSION}" >> ${GITHUB_ENV}
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: "0"
- uses: actions/download-artifact@v3
with:
name: single-binary-image
Expand Down Expand Up @@ -188,7 +182,6 @@ jobs:
repository: flyteorg/flytesnacks
path: flytesnacks
ref: ${{ env.FLYTESNACKS_VERSION }}
fetch-depth: "0"
- name: Register specific tests
run: |
flytekit_version=$(pip show flytekit | grep -i version | awk '{ print $2 }')
Expand All @@ -213,8 +206,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: "0"
- uses: actions/download-artifact@v3
with:
name: single-binary-image
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ jobs:
steps:
- name: Fetch the code
uses: actions/checkout@v4
with:
fetch-depth: "0"
- name: Set up Go
uses: actions/setup-go@v2
with:
Expand All @@ -33,13 +31,11 @@ jobs:
uses: actions/checkout@v4
with:
path: "${{ github.workspace }}/flyte"
fetch-depth: "0"
- name: Fetch flytekit code
uses: actions/checkout@v4
with:
repository: flyteorg/flytekit
path: "${{ github.workspace }}/flytekit"
fetch-depth: "0"
- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
Expand Down Expand Up @@ -79,8 +75,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: "0"
- uses: actions/setup-go@v2
with:
go-version: "1.21"
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: "0"
- name: Set up Go
uses: actions/setup-go@v3
with:
Expand Down
2 changes: 0 additions & 2 deletions boilerplate/flyte/github_workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: "0"
- name: Push Docker Image to Github Registry
uses: whoan/docker-build-with-cache-action@v5
with:
Expand Down

0 comments on commit 1548789

Please sign in to comment.