git.iko.soy/typeable/compaREST
on master help sign in
Added basic haskell CI (#6)

* Added basic haskell CI * Removed cabal things

commitb51d410a39553e3c948fecdec15616dff7b9b7b4 authoriko <ilyakooo0@gmail.com> dateThu 4 Mar 2021, 14:09 (6 years ago) parent1612989
1 file changed+30
.github/workflows/haskell.yml+30
.github/workflows/haskell.ymlnew file+30
@@ -0,0 +1,30 @@
1+name: Haskell CI
2+
3+on:
4+ push:
5+ branches: [master]
6+ pull_request:
7+ branches: [master]
8+
9+jobs:
10+ build:
11+ runs-on: ubuntu-latest
12+
13+ steps:
14+ - uses: actions/checkout@v2
15+ - uses: haskell/actions/setup@v1
16+ with:
17+ enable-stack: true
18+ stack-no-global: true
19+ stack-version: "latest"
20+ - name: Cache
21+ uses: actions/cache@v1
22+ with:
23+ path: ~/.stack
24+ key: ${{ runner.os }}-build-stack-${{ hashFiles('**/stack.yaml') }}
25+ restore-keys: |
26+ ${{ runner.os }}-build-stack-
27+ - name: Build
28+ run: stack build
29+# - name: Test
30+# run: stack test