Skip to content

Commit d9aca6a

Browse files
committed
chore: add cabal enable-benchmarks based on documentation
chore: add complete path for caching hitting
1 parent 5acfda7 commit d9aca6a

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,8 @@ jobs:
5050
cabal-update: true
5151
- name: Configure the build
5252
run: |
53-
cabal configure --enable-tests --disable-documentation
53+
cabal configure --enable-tests --enable-benchmarks --disable-documentation
5454
cabal build all --dry-run
55-
pwd
56-
echo ${{ github.workspace }}
57-
find . -type f -name "*plan.json"
58-
cat dist-newstyle/cache/plan.json
5955
6056
- name: Restore cached dependencies
6157
uses: actions/cache/restore@v4
@@ -64,7 +60,7 @@ jobs:
6460
key: ${{ runner.os }}-ghc-${{ steps.setup.outputs.ghc-version }}-cabal-${{ steps.setup.outputs.cabal-version }}
6561
with:
6662
path: ${{ steps.setup.outputs.cabal-store }}
67-
key: ${{ env.key }}-plan-${{ hashFiles('**/plan.json') }}
63+
key: ${{ env.key }}-plan-${{ hashFiles('${{ github.workspace }}/dist-newstyle/cache/plan.json') }}
6864
restore-keys: ${{ env.key }}-
6965

7066
- name: Install dependencies

0 commit comments

Comments
 (0)