Skip to content

Commit

Permalink
Use partial checkouts
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Apolinario <[email protected]>
  • Loading branch information
eapolinario committed Feb 21, 2024
1 parent 65cb19d commit f3a72ae
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/pythonbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
steps:
- uses: insightsengineering/disk-space-reclaimer@v1
- uses: actions/checkout@v4
with:
filter: tree:0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
Expand Down Expand Up @@ -72,6 +74,8 @@ jobs:
steps:
- uses: insightsengineering/disk-space-reclaimer@v1
- uses: actions/checkout@v4
with:
filter: tree:0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
Expand Down Expand Up @@ -109,6 +113,8 @@ jobs:
working-directory: flytekit
steps:
- uses: actions/checkout@v4
with:
filter: tree:0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
Expand Down Expand Up @@ -148,6 +154,8 @@ jobs:
# As described in https://github.com/pypa/setuptools_scm/issues/414, SCM needs git history
# and tags to work.
- uses: actions/checkout@v4
with:
filter: tree:0
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
Expand Down Expand Up @@ -266,6 +274,8 @@ jobs:
steps:
- uses: insightsengineering/disk-space-reclaimer@v1
- uses: actions/checkout@v4
with:
filter: tree:0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
Expand Down Expand Up @@ -307,6 +317,8 @@ jobs:
steps:
- name: Fetch the code
uses: actions/checkout@v4
with:
filter: tree:0
- name: Set up Python 3.8
uses: actions/setup-python@v4
with:
Expand Down

0 comments on commit f3a72ae

Please sign in to comment.