Fix ci.yml error with set-head (#204)

This commit is contained in:
Veronika Romashkina 2020-11-09 15:34:12 +00:00 committed by GitHub
parent a17aa8d25b
commit 7a13ae0ffb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,8 +45,14 @@ jobs:
- name: origin/HEAD
if: matrix.os != 'macOS-latest'
run: git remote set-head origin -a
run: |
git gc
git fsck --full
git reflog expire --expire=0 --all
git remote -v
git gc --aggressive
git remote update --prune
git remote set-head origin -a
- name: Test
if: matrix.os != 'macOS-latest'
run: cabal test