diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2019-08-12 14:30:42 +0900 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2019-08-12 14:30:43 +0900 |
commit | 4f10a61eaaf5bfe7e4c53edc79c5e27a7bd1ae33 (patch) | |
tree | f899b5e7d5ea917e1a64677a20a6db6ae54eac4b /.github/workflows/ubuntu.yml | |
parent | 2b3d84d584e4a4cec5fe452db422c76048826c2b (diff) |
Stop relying on actions/checkout
because it randomly fails on authorization like:
https://github.com/ruby/ruby/runs/190887455
Also the backoff seems too short. Maybe we need tool/travis_retry.sh for
this too.
Cloning ruby/ruby does not need authorization. We don't need to use
actions/checkout.
Diffstat (limited to '.github/workflows/ubuntu.yml')
-rw-r--r-- | .github/workflows/ubuntu.yml | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index d7a6cbadda..7870fae308 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -20,10 +20,8 @@ jobs: sudo apt-get update sudo apt-get install ruby2.5 sudo apt-get build-dep ruby2.5 - - name: Checkout - uses: actions/checkout@master - with: - fetch-depth: 50 + - name: Checkout # not using actions/checkout because it's unstable. + run: tool/ci_retry.sh git clone --depth=50 https://github.com/ruby/ruby . - name: Set ENV run: | export JOBS=-j$((1 + $(nproc --all))) |