Skip to content

Commit

Permalink
Use dhall-lang/setup-dhall action
Browse files Browse the repository at this point in the history
  • Loading branch information
philderbeast committed May 21, 2024
1 parent b9a860a commit c31e886
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/cabal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,22 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: haskell-actions/setup@v2
name: setup GHC and cabal-install
- name: Set up GHC and cabal-install
uses: haskell-actions/setup@v2
id: setup
with:
ghc-version: ${{ matrix.vers.ghc }}
cabal-version: ${{ matrix.cabal }}
enable-stack: true
stack-version: '2.15.7'

- name: Update hackage index
run: cabal update --ignore-project

- name: Install Dhall
run: |
cabal update --ignore-project
cabal install dhall --with-compiler=ghc-${{ matrix.vers.ghc }} --ignore-project
uses: dhall-lang/setup-dhall@v4
with:
version: '1.42.1'

- name: Updo
run: GHC_VERSION=${{ matrix.vers.ghc }} STACKAGE_VERSION=${{ matrix.vers.stackage }} make -f project-files.mk cabal.project
Expand Down

0 comments on commit c31e886

Please sign in to comment.