-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (30 loc) · 939 Bytes
/
haskell.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Haskell CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-22.04
defaults:
run:
shell: bash
steps:
- name: Copy repo into actions
uses: actions/checkout@v3
- name: Install ollama
run: make install-ollama
- name: Setup cabal
uses: haskell-actions/setup@v2
with:
cabal-version: '3.10.3.0'
ghc-version: '9.6.6'
id: setup
- name: install dependancies, build and test stack project.
uses: freckle/stack-action@v5
with:
stack-build-arguments: --ghc-options="-fno-warn-unused-imports -fno-warn-unused-matches -fno-warn-type-defaults -fno-warn-missing-export-lists"
stack-build-arguments-test: --ghc-options="-fno-warn-unused-imports -fno-warn-unused-matches -fno-warn-type-defaults -fno-warn-missing-export-lists"