From 954662ec760499545626f454ff851314347bdcf9 Mon Sep 17 00:00:00 2001 From: Gregory Gerasev Date: Thu, 18 Apr 2024 23:02:26 +0700 Subject: [PATCH] Remove cabal.project from CI --- .github/workflows/haskell-ci.yml | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/.github/workflows/haskell-ci.yml b/.github/workflows/haskell-ci.yml index 4a2b56a..d4b4f36 100644 --- a/.github/workflows/haskell-ci.yml +++ b/.github/workflows/haskell-ci.yml @@ -122,11 +122,6 @@ jobs: uses: actions/checkout@v3 with: path: source - - name: initial cabal.project for sdist - run: | - touch cabal.project - echo "packages: $GITHUB_WORKSPACE/source/." >> cabal.project - cat cabal.project - name: sdist run: | mkdir -p sdist @@ -135,21 +130,6 @@ jobs: run: | mkdir -p unpacked find sdist -maxdepth 1 -type f -name '*.tar.gz' -exec tar -C $GITHUB_WORKSPACE/unpacked -xzvf {} \; - - name: generate cabal.project - run: | - PKGDIR_cem_script="$(find "$GITHUB_WORKSPACE/unpacked" -maxdepth 1 -type d -regex '.*/cem-script-[0-9.]*')" - echo "PKGDIR_cem_script=${PKGDIR_cem_script}" >> "$GITHUB_ENV" - rm -f cabal.project cabal.project.local - touch cabal.project - touch cabal.project.local - echo "packages: ${PKGDIR_cem_script}" >> cabal.project - echo "package cem-script" >> cabal.project - echo " ghc-options: -Werror=missing-methods" >> cabal.project - cat >> cabal.project <> cabal.project.local - cat cabal.project - cat cabal.project.local - name: dump install plan run: | $CABAL v2-build $ARG_COMPILER $ARG_TESTS $ARG_BENCH --dry-run all