CI: Run `cabal update` before trying to build Hadrian
authorMatthew Pickering <matthewtpickering@gmail.com>
Mon, 18 Feb 2019 19:42:35 +0000 (19:42 +0000)
committerMarge Bot <ben+marge-bot@smart-cactus.org>
Wed, 20 Feb 2019 14:59:16 +0000 (09:59 -0500)
.gitlab-ci.yml

index b630d9f..33d96d8 100644 (file)
@@ -54,6 +54,7 @@ ghc-linters:
 .validate-hadrian:
   allow_failure: true
   script:
+    - cabal update
     - git clean -xdf && git submodule foreach git clean -xdf
     - bash .circleci/prepare-system.sh
     - if [[ -d ./cabal-cache ]]; then cp -R ./.cabal-cache ~/.cabal-cache; fi