ci: we don't need to install cabal/ghc manually, it seems.

This commit is contained in:
John MacFarlane 2019-10-02 08:27:28 -07:00
parent dad5e0d083
commit 1d4ea54aaa

View file

@ -55,11 +55,6 @@ jobs:
# cabal: '3.0' # cabal: '3.0'
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- name: Install recent cabal/ghc
run: |
sudo add-apt-repository ppa:hvr/ghc
sudo apt-get update
sudo apt-get install ghc-${{ matrix.versions.ghc }} cabal-install-${{ matrix.versions.cabal }}
- name: Install dependencies - name: Install dependencies
run: | run: |
export PATH=/opt/cabal/${{ matrix.versions.cabal }}/bin:/opt/ghc/${{ matrix.versions.ghc }}/bin:$PATH export PATH=/opt/cabal/${{ matrix.versions.cabal }}/bin:/opt/ghc/${{ matrix.versions.ghc }}/bin:$PATH