-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (40 loc) · 891 Bytes
/
haskell.yaml
File metadata and controls
50 lines (40 loc) · 891 Bytes
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
38
39
40
41
42
43
44
45
46
47
48
49
50
name: haskell
on:
push:
branches:
- main
paths:
- '**.hs'
- '.github/workflows/haskell.yaml'
pull_request:
branches:
- main
paths:
- '**.hs'
- '.github/workflows/haskell.yaml'
jobs:
hlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: 'Set up HLint'
uses: haskell-actions/hlint-setup@v2
- name: 'Run HLint'
uses: haskell-actions/hlint-run@v2
with:
path: "."
fail-on: warning
lab2_test:
if: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: 'Set up Haskell with Stack'
uses: haskell-actions/setup@v2
with:
ghc-version: '8.8.3'
enable-stack: true
stack-version: 'latest'
- name: 'Run lab2 tests'
working-directory: ./lab-hashmap
run: stack test