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 8bf5015 commit cfc0216
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/haskell-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
name: Extract the tested GHC versions
uses: "kleidukos/get-tested@a0aa3f2d4ab0d10daa49dc9ee8c706d673fb0e02"
with:
cabal-file: unlift-io-servant-server.cabal
cabal-file: unliftio-servant-server.cabal
ubuntu-version: '20.04'
version: '0.1.7.1'
timeout-minutes: 30
Expand Down Expand Up @@ -138,17 +138,17 @@ jobs:
find sdist -maxdepth 1 -type f -name '*.tar.gz' -exec tar -C $GITHUB_WORKSPACE/unpacked -xzvf {} \;
- name: generate cabal.project
run: |
PKGDIR_PROJECT="$(find "$GITHUB_WORKSPACE/unpacked" -maxdepth 1 -type d -regex '.*/unlift-io-servant-server-[0-9.]*')"
PKGDIR_PROJECT="$(find "$GITHUB_WORKSPACE/unpacked" -maxdepth 1 -type d -regex '.*/unliftio-servant-server-[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_PROJECT}" >> cabal.project
echo "package unlift-io-servant-server" >> cabal.project
echo "package unliftio-servant-server" >> 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 /^(unlift-io-servant-server)$/; }' >> cabal.project.local
$HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: any.$_ installed\n" unless /^(unliftio-servant-server)$/; }' >> cabal.project.local
cat cabal.project
cat cabal.project.local
- name: dump install plan
Expand Down

0 comments on commit cfc0216

Please sign in to comment.