Update cabal after restoring cache
authorLuke Lau <luke_lau@icloud.com>
Sun, 26 Jan 2020 18:58:41 +0000 (18:58 +0000)
committerGitHub <noreply@github.com>
Sun, 26 Jan 2020 18:58:41 +0000 (18:58 +0000)
.github/workflows/haskell.yml

index 75b6dbb01827faef34edcfe989023bada806a003..4f482c928ab253d8c4ad6a04acdbf1b9ea2a2bac 100644 (file)
@@ -23,7 +23,6 @@ jobs:
       with:
         ghc-version: ${{ matrix.ghc }}
         cabal-version: '3.0'
-    - run: cabal update
 
     - name: Clone HIE
       uses: actions/checkout@v1
@@ -47,6 +46,8 @@ jobs:
         path: ~/.hoogle
         key: ${{ runner.OS }}-${{ matrix.ghc }}-hoogle-${{ env.hieref }}
 
+    - run: cabal update
+
     - name: Build HIE
       run: |
         pushd ../haskell-ide-engine