Skip to content

Commit

Permalink
Add a retry for clones (python#509)
Browse files Browse the repository at this point in the history
  • Loading branch information
hauntsaninja authored Nov 18, 2024
1 parent bf9a252 commit bf141ec
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/third_party.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
- name: Install uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Checkout pydantic
run: git clone https://github.com/pydantic/pydantic.git
run: git clone --depth=1 https://github.com/pydantic/pydantic.git || git clone --depth=1 https://github.com/pydantic/pydantic.git
- name: Checkout typing_extensions
uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
- name: Install uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Checkout typing_inspect
run: git clone https://github.com/ilevkivskyi/typing_inspect.git
run: git clone --depth=1 https://github.com/ilevkivskyi/typing_inspect.git || git clone --depth=1 https://github.com/ilevkivskyi/typing_inspect.git
- name: Checkout typing_extensions
uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -142,7 +142,7 @@ jobs:
- name: Install uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Check out pyanalyze
run: git clone https://github.com/quora/pyanalyze.git
run: git clone --depth=1 https://github.com/quora/pyanalyze.git || git clone --depth=1 https://github.com/quora/pyanalyze.git
- name: Checkout typing_extensions
uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -188,7 +188,7 @@ jobs:
- name: Install uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Check out typeguard
run: git clone https://github.com/agronholm/typeguard.git
run: git clone --depth=1 https://github.com/agronholm/typeguard.git || git clone --depth=1 https://github.com/agronholm/typeguard.git
- name: Checkout typing_extensions
uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -234,7 +234,7 @@ jobs:
- name: Install uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Check out typed-argument-parser
run: git clone https://github.com/swansonk14/typed-argument-parser.git
run: git clone --depth=1 https://github.com/swansonk14/typed-argument-parser.git || git clone --depth=1 https://github.com/swansonk14/typed-argument-parser.git
- name: Checkout typing_extensions
uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -287,7 +287,7 @@ jobs:
- name: Install uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Checkout mypy for stubtest and mypyc tests
run: git clone https://github.com/python/mypy.git
run: git clone --depth=1 https://github.com/python/mypy.git || git clone --depth=1 https://github.com/python/mypy.git
- name: Checkout typing_extensions
uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -332,7 +332,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Checkout cattrs
run: git clone https://github.com/python-attrs/cattrs.git
run: git clone --depth=1 https://github.com/python-attrs/cattrs.git || git clone --depth=1 https://github.com/python-attrs/cattrs.git
- name: Checkout typing_extensions
uses: actions/checkout@v4
with:
Expand Down

0 comments on commit bf141ec

Please sign in to comment.