$ cabal -V
cabal-install version 3.0.0.0
compiled using version 3.0.0.0 of the Cabal library
$ stack --version
Version 2.1.3, Git revision 636e3a759d51127df2b62f90772def126cdf6d1f (7735 commits) x86_64 hpack-0.31.2
Memo - unexpected At most 9 numbers are allowed per version number part
GHC-8.8 への移行中に GitHub Actions で以下のようなエラーが発生しました。
proj/dist-newstyle/src/barbies-6f24224e2c384e2f/barbies.cabal:2:31: error:
unexpected At most 9 numbers are allowed per version number part
1 | name: barbies
2 | version: 1.999999999999
| ^
##[error]Process completed with exit code 1.
λ cabal-fmt --version
0.1.1.1
λ cabal -V
cabal-install version 3.0.0.0
compiled using version 3.0.0.0 of the Cabal library
# 使い方
λ cabal-fmt <proj>.cabal -i