Closed jhrcek closed 1 year ago
This sounds like a YAML parsing issue, where 3.10
is being read as a number. Try string syntax instead:
cabal: ["3.10"]
That didn't occur to me. You're right, quoting the number fixed the issue. Thanks!
When I specify cabal version as 3.10
It seems that setup actions is trying to install cabal version 3.1, which predictably fails.
Here's a relevant part of github actions config (note 3.10 version of cabal)![Screenshot from 2023-06-29 08-58-14](https://github.com/haskell/actions/assets/2716069/d0945006-0f7c-48ef-80d5-6e868441247b)
But then the job fails, with this error (why is it trying to install cabal 3.1?)
There is a workaround, namely declaring cabal version as 3.10.1.0. But it would be nice if the shorter version also worked..