From fde46a37d95a5d72878ab8a109bada3a631013f8 Mon Sep 17 00:00:00 2001 From: DWesl <22566757+DWesl@users.noreply.github.com> Date: Mon, 31 Oct 2022 10:11:54 -0400 Subject: [PATCH] CI: Only fetch in actions/checkout I had the workflow fetch the repository in two steps earlier. That was failing after the switch from egor-tensin/install-cygwin to cygwin/install-cygwin-action. This avoids that step and hopefully sidesteps whatever the problem is; I'm hoping the problem is just internet access by an untrusted binary. --- .github/workflows/cygwin.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cygwin.yml b/.github/workflows/cygwin.yml index efac1ce03fd5..ed7df2b2eec5 100644 --- a/.github/workflows/cygwin.yml +++ b/.github/workflows/cygwin.yml @@ -24,7 +24,7 @@ jobs: - uses: actions/checkout@v3 with: submodules: recursive - fetch-depth: 3000 + fetch-depth: 0 - name: Install Cygwin uses: cygwin/cygwin-install-action@v2 with: @@ -50,11 +50,9 @@ jobs: run: | command bash bash -c "uname -svrmo" - - name: Update with Cygwin git - # fetch-depth=0 above should make this short. + - name: Tell Cygwin's git about this repository. run: | dash -c "which git; /usr/bin/git config --system --add safe.directory /cygdrive/d/a/numpy/numpy" - dash -c "which git; /usr/bin/git fetch --all -p" - name: Verify python version # Make sure it's the Cygwin one, not a Windows one run: |