aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-03-13 17:25:47 +0100
committerEelco Dolstra <edolstra@gmail.com>2020-03-13 17:25:47 +0100
commit073650db019b06644023f3ca80cc2a16f5e2bce6 (patch)
tree39c2ff3a62cefb5d7b23570899b94aa30104c40f
parentea1803efdc288a400b544e7f1f2d83efdd2792b6 (diff)
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
-rw-r--r--.github/workflows/test.yml2
1 files changed, 2 insertions, 0 deletions
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)