Skip to content

Commit

Permalink
github-actions: update cabal before checking out the repository
Browse files Browse the repository at this point in the history
  • Loading branch information
coot committed Oct 5, 2022
1 parent e6d726e commit c9e60bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ jobs:
cabal --version
echo "::set-output name=cabal-store::$(dirname $(cabal --help | tail -1 | tr -d ' '))\\store"
- name: Update Hackage index
run: cabal update

- name: Set cache version
run: echo "CACHE_VERSION=20220919" >> $GITHUB_ENV

Expand Down Expand Up @@ -113,9 +116,6 @@ jobs:
- uses: actions/checkout@v3

- name: Update Hackage index
run: cabal update

- name: "Configure cabal.project.local"
run: |
# running cabal configure overrides every other configuration already
Expand Down

0 comments on commit c9e60bc

Please sign in to comment.