From 073650db019b06644023f3ca80cc2a16f5e2bce6 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 13 Mar 2020 17:25:47 +0100 Subject: [PATCH] Do a deep fetch Currently the build fails with warning: reject refs/heads/HEAD because shallow roots are not allowed to be updated error: Could not read 0c2088d4386a350f0005ff1a278d0384dbc26881 fatal: Failed to traverse parents of commit ea1803efdc288a400b544e7f1f2d83efdd2792b6 error: program 'git' failed with exit code 128 --- .github/workflows/test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index dd5224dc3..f9b1d6093 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,6 +10,8 @@ jobs: runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 + with: + fetch-depth: 0 - uses: cachix/install-nix-action@v8 #- run: nix flake check - run: nix-build -A checks.$(if [[ `uname` = Linux ]]; then echo x86_64-linux; else echo x86_64-darwin; fi)