Skip to content

Commit

Permalink
workflow update from gha-workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwebb76 committed Dec 11, 2024
1 parent e19ce3d commit 16d6335
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/haskell-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,12 @@ 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_PROJECT="$(find "$GITHUB_WORKSPACE/unpacked" -maxdepth 1 -type d -regex '.*/aws-arn-[0-9.]*')"
echo "PKGDIR_PROJECT=${PKGDIR_PROJECT}" >> "$GITHUB_ENV"
rm -f cabal.project cabal.project.local
touch cabal.project
touch cabal.project.local
echo "packages: ${PKGDIR_aws_arn}" >> cabal.project
echo "packages: ${PKGDIR_PROJECT}" >> cabal.project
echo "package aws-arn" >> cabal.project
echo " ghc-options: -Werror=missing-methods" >> cabal.project
cat >> cabal.project <<EOF
Expand Down Expand Up @@ -176,11 +176,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_PROJECT} || false
doctest -XHaskell2010 src
- name: cabal check
run: |
cd ${PKGDIR_aws_arn} || false
cd ${PKGDIR_PROJECT} || false
${CABAL} -vnormal check
- name: haddock
run: |
Expand Down

0 comments on commit 16d6335

Please sign in to comment.