projects
/
lsp-test.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix Haddock formatting error
[lsp-test.git]
/
.github
/
workflows
/
haskell.yml
diff --git
a/.github/workflows/haskell.yml
b/.github/workflows/haskell.yml
index 32c54b90c649ce802d73806751cd3a0c55d68e61..e4cdf76e2a374e073f0bf41cd65a654514df1c8f 100644
(file)
--- a/
.github/workflows/haskell.yml
+++ b/
.github/workflows/haskell.yml
@@
-9,18
+9,24
@@
jobs:
steps:
- uses: actions/checkout@v1
steps:
- uses: actions/checkout@v1
- - name: Install dependencies
- run: cabal install --only-dependencies --enable-tests
+ - uses: actions/setup-haskell@v1
+ with:
+ ghc-version: '8.6.5'
+ cabal-version: '3.0'
+ - run: cabal update
- name: Install HIE
run: |
pushd $HOME
git clone https://github.com/haskell/haskell-ide-engine --recurse-submodules
cd haskell-ide-engine
- name: Install HIE
run: |
pushd $HOME
git clone https://github.com/haskell/haskell-ide-engine --recurse-submodules
cd haskell-ide-engine
- cabal v2-install hie
- cabal v2-install hoogle
+ cabal install hie
+ cabal install hoogle
+ export PATH=$PATH:$HOME/.cabal/bin
hoogle generate
popd
- name: Build
hoogle generate
popd
- name: Build
- run: cabal v2-build
- - name: Run tests
- run: cabal v2-test
+ run: cabal build
+ - name: Test
+ run: |
+ export PATH=$PATH:$HOME/.cabal/bin
+ cabal test