File tree Expand file tree Collapse file tree 4 files changed +27
-18
lines changed Expand file tree Collapse file tree 4 files changed +27
-18
lines changed Original file line number Diff line number Diff line change 35
35
- name : Update the Cabal index
36
36
run : cabal update
37
37
38
- - name : Check if site.hs is formatted using ormolu
39
- uses : mrkkrp/ormolu-action@v6
40
- with :
41
- pattern : |
42
- **/site.hs
43
-
44
38
- name : Build with Hakyll
45
39
working-directory : message-index
46
40
run : cabal run site build
Original file line number Diff line number Diff line change 35
35
- name : Update the Cabal index
36
36
run : cabal update
37
37
38
- - name : Check if site.hs is formatted using ormolu
39
- uses : mrkkrp/ormolu-action@v6
40
- with :
41
- pattern : |
42
- **/site.hs
43
-
44
38
- name : Build with Hakyll
45
39
working-directory : message-index
46
40
run : cabal run site build
Original file line number Diff line number Diff line change
1
+ name : Ormolu
2
+
3
+ on :
4
+ push :
5
+ paths :
6
+ - ' **/site.hs'
7
+ branches :
8
+ - main
9
+ pull_request :
10
+ paths :
11
+ - ' **/site.hs'
12
+ types :
13
+ - opened
14
+ - synchronize
15
+ - reopened
16
+
17
+ jobs :
18
+ ormolu :
19
+ name : Ormolu
20
+ runs-on : ubuntu-latest
21
+ steps :
22
+ - uses : actions/checkout@v3
23
+ - name : Check if site.hs is formatted using ormolu
24
+ uses : mrkkrp/ormolu-action@v11
25
+ with :
26
+ pattern : |
27
+ **/site.hs
Original file line number Diff line number Diff line change 33
33
- name : Update the Cabal index
34
34
run : cabal update
35
35
36
- - name : Check if site.hs is formatted using ormolu
37
- uses : mrkkrp/ormolu-action@v6
38
- with :
39
- pattern : |
40
- **/site.hs
41
-
42
36
- name : Build with Hakyll
43
37
working-directory : message-index
44
38
run : cabal run site build
You can’t perform that action at this time.
0 commit comments