Skip to content

Commit

Permalink
Update outdated referecnes
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwebb76 committed Dec 10, 2024
1 parent 8005bd7 commit 9b695ce
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/haskell-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <<EOF
EOF
$HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: any.$_ installed\n" unless /^(aws-arn)$/; }' >> 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
Expand Down Expand Up @@ -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: |
Expand Down

0 comments on commit 9b695ce

Please sign in to comment.