projects
/
lsp-test.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
9812e6a
)
Try out GitHub actions
author
Luke Lau
<luke_lau@icloud.com>
Sat, 24 Aug 2019 22:01:05 +0000
(18:01 -0400)
committer
GitHub
<noreply@github.com>
Sat, 24 Aug 2019 22:01:05 +0000
(18:01 -0400)
.github/workflows/haskell.yml
[new file with mode: 0644]
patch
|
blob
diff --git a/.github/workflows/haskell.yml
b/.github/workflows/haskell.yml
new file mode 100644
(file)
index 0000000..
32c54b9
--- /dev/null
+++ b/
.github/workflows/haskell.yml
@@ -0,0
+1,26
@@
+name: Haskell CI
+
+on: [push]
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v1
+ - name: Install dependencies
+ run: cabal install --only-dependencies --enable-tests
+ - 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
+ hoogle generate
+ popd
+ - name: Build
+ run: cabal v2-build
+ - name: Run tests
+ run: cabal v2-test