File tree Expand file tree Collapse file tree 6 files changed +18
-78
lines changed Expand file tree Collapse file tree 6 files changed +18
-78
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 1
1
---
2
- name : cabal -build
2
+ name : stack -build
3
3
on :
4
4
push :
5
5
branches : main
@@ -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
40
40
# Defaults, added for clarity:
41
41
cabal-version : latest
42
42
cabal-update : true
43
+ enable-stack : true
44
+ stack-setup-ghc : true
45
+ stack-no-global : true
43
46
44
47
- name : Configure the build
45
48
run : |
49
+ # generate the .cabal file
50
+ stack clean
46
51
cabal configure --enable-tests --enable-benchmarks --disable-documentation
47
52
cabal build --dry-run
48
53
# The last step generates dist-newstyle/cache/plan.json for the cache key.
Original file line number Diff line number Diff line change
1
+ megaparsec-utils.cabal
1
2
.stack-work /
2
3
* ~
3
4
dist-newstyle /
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ ---
1
2
name : megaparsec-utils
2
3
version : 0.0.0.0-dev
3
4
license : GPL-3
51
52
- -threaded
52
53
- -rtsopts
53
54
- -with-rtsopts=-N
55
+
54
56
dependencies :
55
57
- megaparsec-utils
56
58
- hspec
57
59
- QuickCheck
60
+ ...
You can’t perform that action at this time.
0 commit comments