projects
/
lsp-test.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tidy up workflow
[lsp-test.git]
/
.github
/
workflows
/
haskell.yml
diff --git
a/.github/workflows/haskell.yml
b/.github/workflows/haskell.yml
index 439c56596d1ca19d2698fc532fec105eaa812721..e4cdf76e2a374e073f0bf41cd65a654514df1c8f 100644
(file)
--- a/
.github/workflows/haskell.yml
+++ b/
.github/workflows/haskell.yml
@@
-13,6
+13,7
@@
jobs:
with:
ghc-version: '8.6.5'
cabal-version: '3.0'
with:
ghc-version: '8.6.5'
cabal-version: '3.0'
+ - run: cabal update
- name: Install HIE
run: |
pushd $HOME
- name: Install HIE
run: |
pushd $HOME
@@
-20,9
+21,12
@@
jobs:
cd haskell-ide-engine
cabal install hie
cabal install hoogle
cd haskell-ide-engine
cabal install hie
cabal install hoogle
+ export PATH=$PATH:$HOME/.cabal/bin
hoogle generate
popd
- name: Build
run: cabal build
hoogle generate
popd
- name: Build
run: cabal build
- - name: Run tests
- run: cabal test
+ - name: Test
+ run: |
+ export PATH=$PATH:$HOME/.cabal/bin
+ cabal test