Skip to content

Commit 080e0fb

Browse files
committed
Remove unused dependency transformers
1 parent fcd463c commit 080e0fb

File tree

3 files changed

+22
-10
lines changed

3 files changed

+22
-10
lines changed

.github/workflows/haskell-ci.yml

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
#
99
# For more information, see https://github.com/haskell-CI/haskell-ci
1010
#
11-
# version: 0.19.20250330
11+
# version: 0.19.20260104
1212
#
13-
# REGENDATA ("0.19.20250330",["github","helf.cabal"])
13+
# REGENDATA ("0.19.20260104",["github","helf.cabal"])
1414
#
1515
name: Haskell-CI
1616
on:
@@ -20,6 +20,9 @@ on:
2020
pull_request:
2121
branches:
2222
- master
23+
merge_group:
24+
branches:
25+
- master
2326
jobs:
2427
linux:
2528
name: Haskell-CI - Linux - ${{ matrix.compiler }}
@@ -32,14 +35,19 @@ jobs:
3235
strategy:
3336
matrix:
3437
include:
38+
- compiler: ghc-9.14.1
39+
compilerKind: ghc
40+
compilerVersion: 9.14.1
41+
setup-method: ghcup
42+
allow-failure: false
3543
- compiler: ghc-9.12.2
3644
compilerKind: ghc
3745
compilerVersion: 9.12.2
3846
setup-method: ghcup
3947
allow-failure: false
40-
- compiler: ghc-9.10.1
48+
- compiler: ghc-9.10.3
4149
compilerKind: ghc
42-
compilerVersion: 9.10.1
50+
compilerVersion: 9.10.3
4351
setup-method: ghcup
4452
allow-failure: false
4553
- compiler: ghc-9.8.4
@@ -110,8 +118,8 @@ jobs:
110118
chmod a+x "$HOME/.ghcup/bin/ghcup"
111119
- name: Install cabal-install
112120
run: |
113-
"$HOME/.ghcup/bin/ghcup" install cabal 3.14.1.1-p1 || (cat "$HOME"/.ghcup/logs/*.* && false)
114-
echo "CABAL=$HOME/.ghcup/bin/cabal-3.14.1.1-p1 -vnormal+nowrap" >> "$GITHUB_ENV"
121+
"$HOME/.ghcup/bin/ghcup" install cabal 3.16.0.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
122+
echo "CABAL=$HOME/.ghcup/bin/cabal-3.16.0.0 -vnormal+nowrap" >> "$GITHUB_ENV"
115123
- name: Install GHC (GHCup)
116124
if: matrix.setup-method == 'ghcup'
117125
run: |
@@ -187,7 +195,7 @@ jobs:
187195
chmod a+x $HOME/.cabal/bin/cabal-plan
188196
cabal-plan --version
189197
- name: checkout
190-
uses: actions/checkout@v4
198+
uses: actions/checkout@v5
191199
with:
192200
path: source
193201
- name: initial cabal.project for sdist
@@ -212,7 +220,9 @@ jobs:
212220
touch cabal.project.local
213221
echo "packages: ${PKGDIR_helf}" >> cabal.project
214222
if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then echo "package helf" >> cabal.project ; fi
215-
if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then echo " ghc-options: -Werror=missing-methods" >> cabal.project ; fi
223+
if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then echo " ghc-options: -Werror=missing-methods -Werror=missing-fields" >> cabal.project ; fi
224+
if [ $((HCNUMVER >= 90400)) -ne 0 ] ; then echo "package helf" >> cabal.project ; fi
225+
if [ $((HCNUMVER >= 90400)) -ne 0 ] ; then echo " ghc-options: -Werror=unused-packages" >> cabal.project ; fi
216226
cat >> cabal.project <<EOF
217227
EOF
218228
$HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: any.$_ installed\n" unless /^(helf)$/; }' >> cabal.project.local

cabal.haskell-ci

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
branches: master
2+
error-incomplete-patterns: False
3+
24
-- Specify 'constraint: ... installed' packages
35
-- installed: +all -containers -mtl -transformers

helf.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ description:
1717
It type-checks LF definitions, but does not do type reconstruction.
1818

1919
tested-with:
20+
GHC == 9.14.1
2021
GHC == 9.12.2
21-
GHC == 9.10.1
22+
GHC == 9.10.3
2223
GHC == 9.8.4
2324
GHC == 9.6.7
2425
GHC == 9.4.8
@@ -92,7 +93,6 @@ executable helf
9293
, pretty >= 1.0 && < 2
9394
, text >= 1.0.0.1 && < 3
9495
-- text-1.0.0.1 fixes a regression in decodeUtf8
95-
, transformers >= 0.2 && < 1
9696
build-tool-depends:
9797
happy:happy >= 1.18.10 && < 3
9898
-- happy-1.18.10 has fixes for GHC 7.6.3

0 commit comments

Comments
 (0)