Skip to content

Commit d549a26

Browse files
committed
Update tweaks in hackage ci
1 parent 75e234a commit d549a26

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

.github/workflows/hackage.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -104,22 +104,15 @@ jobs:
104104
cd $(ls -d ./incoming/${{ matrix.package }}-*)
105105
echo "packages: . ../../* ../../plugins/*" > cabal.project
106106
107-
- name: "Add temporary needed allow-newer"
108-
if: steps.get-hackage-version.outputs.exists != 'true'
109-
run: |
110-
# TODO: remove when not needed
111-
cd $(ls -d ./incoming/${{ matrix.package }}-*)
112-
echo "allow-newer: Chart-diagrams:diagrams-core, SVGFonts:diagrams-core," >> cabal.project
113-
114107
- name: "Add temporary needed allow-newer for ghc-9.0"
115108
if: steps.get-hackage-version.outputs.exists != 'true' && (matrix.ghc == '9.0.1' || matrix.ghc == '9.0.2')
116109
run: |
117110
# TODO: remove when not needed
118111
cd $(ls -d ./incoming/${{ matrix.package }}-*)
119112
# For brittany
120-
echo " brittany:base, brittany:ghc, brittany:ghc-boot-th, butcher:base, multistate:base, data-tree-print:base," >> cabal.project
113+
echo " butcher:base, multistate:base, data-tree-print:base," >> cabal.project
121114
# For floskell and stylish-haskell
122-
echo " floskell:base, floskell:ghc-prim, stylish-haskell:Cabal,stylish-haskell:ghc-lib-parser," >> cabal.project
115+
echo " stylish-haskell:Cabal,stylish-haskell:ghc-lib-parser,stylish-haskell:aeson" >> cabal.project
123116
124117
- name: "Build main package components in isolation"
125118
if: steps.get-hackage-version.outputs.exists != 'true'

0 commit comments

Comments
 (0)