From 9b695ce9ec63f59a0c0e56536d9fbf4a116c87d4 Mon Sep 17 00:00:00 2001 From: Michael Webb Date: Tue, 10 Dec 2024 22:47:30 +1100 Subject: [PATCH] Update outdated referecnes --- .github/workflows/haskell-ci.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/haskell-ci.yml b/.github/workflows/haskell-ci.yml index 317102d..df71385 100644 --- a/.github/workflows/haskell-ci.yml +++ b/.github/workflows/haskell-ci.yml @@ -140,17 +140,17 @@ jobs: find sdist -maxdepth 1 -type f -name '*.tar.gz' -exec tar -C $GITHUB_WORKSPACE/unpacked -xzvf {} \; - name: generate cabal.project run: | - PKGDIR_aws_arn="$(find "$GITHUB_WORKSPACE/unpacked" -maxdepth 1 -type d -regex '.*/aws-arn-[0-9.]*')" - echo "PKGDIR_aws_arn=${PKGDIR_aws_arn}" >> "$GITHUB_ENV" + PKGDIR_cached_io="$(find "$GITHUB_WORKSPACE/unpacked" -maxdepth 1 -type d -regex '.*/cached-io-[0-9.]*')" + echo "PKGDIR_cached_io=${PKGDIR_cached_io}" >> "$GITHUB_ENV" rm -f cabal.project cabal.project.local touch cabal.project touch cabal.project.local - echo "packages: ${PKGDIR_aws_arn}" >> cabal.project - echo "package aws-arn" >> cabal.project + echo "packages: ${PKGDIR_cached_io}" >> cabal.project + echo "package cached-io" >> cabal.project echo " ghc-options: -Werror=missing-methods" >> cabal.project cat >> cabal.project <> cabal.project.local + $HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: any.$_ installed\n" unless /^(cached-io)$/; }' >> cabal.project.local cat cabal.project cat cabal.project.local - name: dump install plan @@ -178,11 +178,11 @@ jobs: $CABAL v2-test $ARG_COMPILER $ARG_TESTS $ARG_BENCH all --test-show-details=direct - name: doctest run: | - cd ${PKGDIR_aws_arn} || false + cd ${PKGDIR_cached_io} || false doctest -XHaskell2010 src - name: cabal check run: | - cd ${PKGDIR_aws_arn} || false + cd ${PKGDIR_cached_io} || false ${CABAL} -vnormal check - name: haddock run: |