File tree Expand file tree Collapse file tree 3 files changed +9
-12
lines changed Expand file tree Collapse file tree 3 files changed +9
-12
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- name : Conventional commits
3
-
2
+ name : conventional-commits
4
3
on :
5
4
pull_request :
6
- branches :
7
- - main
5
+ branches : [main]
8
6
9
7
jobs :
10
8
build :
Original file line number Diff line number Diff line change 1
1
---
2
- name : Semantic release
2
+ name : semantic- release
3
3
on :
4
- push :
5
- branches :
6
- - main
4
+ workflow_run :
5
+ workflows : [stack-build]
6
+ types : [completed]
7
+ branches : [main]
7
8
8
9
jobs :
9
10
build :
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ permissions:
11
11
12
12
jobs :
13
13
build :
14
- name : ${{ matrix.os }} / ghc ${{ matrix.ghc-version }}
14
+ name : ghc- ${{ matrix.ghc-version }} / ${{ matrix.os }}
15
15
runs-on : ${{ matrix.os }}-latest
16
16
strategy :
17
17
fail-fast : false
41
41
cabal-version : latest
42
42
cabal-update : true
43
43
enable-stack : true
44
+ stack-setup-ghc : true
44
45
45
46
- name : Configure the build
46
47
run : |
59
60
key : ${{ env.key }}-plan-${{ hashFiles('**/plan.json') }}
60
61
restore-keys : ${{ env.key }}-
61
62
62
- - name : Generate cabal file
63
- run : stack clean
64
-
65
63
- name : Install dependencies
66
64
run : cabal build all --only-dependencies
67
65
You can’t perform that action at this time.
0 commit comments