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 11---
2- name : Conventional commits
3-
2+ name : conventional-commits
43on :
54 pull_request :
6- branches :
7- - main
5+ branches : [main]
86
97jobs :
108 build :
Original file line number Diff line number Diff line change 11---
2- name : Semantic release
2+ name : semantic- release
33on :
4- push :
5- branches :
6- - main
4+ workflow_run :
5+ workflows : [stack-build]
6+ types : [completed]
7+ branches : [main]
78
89jobs :
910 build :
Original file line number Diff line number Diff line change 11---
2- name : cabal -build
2+ name : stack -build
33on :
44 push :
55 branches : main
@@ -11,7 +11,7 @@ permissions:
1111
1212jobs :
1313 build :
14- name : ${{ matrix.os }} / ghc ${{ matrix.ghc-version }}
14+ name : ghc- ${{ matrix.ghc-version }} / ${{ matrix.os }}
1515 runs-on : ${{ matrix.os }}-latest
1616 strategy :
1717 fail-fast : false
4040 # Defaults, added for clarity:
4141 cabal-version : latest
4242 cabal-update : true
43+ enable-stack : true
44+ stack-setup-ghc : true
45+ stack-no-global : true
4346
4447 - name : Configure the build
4548 run : |
49+ # generate the .cabal file
50+ stack ls dependencies >/dev/null
4651 cabal configure --enable-tests --enable-benchmarks --disable-documentation
4752 cabal build --dry-run
4853 # 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
12.stack-work /
23* ~
34dist-newstyle /
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ ---
12name : megaparsec-utils
23version : 0.0.0.0-dev
34license : GPL-3
5152 - -threaded
5253 - -rtsopts
5354 - -with-rtsopts=-N
55+
5456 dependencies :
5557 - megaparsec-utils
5658 - hspec
5759 - QuickCheck
60+ ...
You can’t perform that action at this time.
0 commit comments