Skip to content

Commit 2546632

Browse files
committed
Added CI/CD pipeline
1 parent 8f85577 commit 2546632

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/haskell.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Haskell CI
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-22.04
15+
defaults:
16+
run:
17+
shell: bash
18+
19+
steps:
20+
- name: Copy repo into actions
21+
uses: actions/checkout@v3
22+
23+
- name: install dependancies, build and test stack project.
24+
uses: freckle/stack-action@v5
25+
with:
26+
stack-build-arguments: --ghc-options="-fno-warn-unused-imports -fno-warn-unused-matches -fno-warn-type-defaults -fno-warn-missing-export-lists"
27+
stack-build-arguments-test: --ghc-options="-fno-warn-unused-imports -fno-warn-unused-matches -fno-warn-type-defaults -fno-warn-missing-export-lists"

0 commit comments

Comments
 (0)