Skip to content

Commit acb7f01

Browse files
committed
ci: swap deprecated haskell/actions/setup for haskell-actions/setup
+ Also don't setup stack
1 parent 737665e commit acb7f01

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/haskell.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,29 +32,24 @@ jobs:
3232
- uses: actions/checkout@v3
3333

3434
- name: Set up GHC ${{ matrix.ghc-version }}
35-
uses: haskell/actions/setup@v2
35+
uses: haskell-actions/setup@v2
3636
id: setup
3737
with:
3838
ghc-version: ${{ matrix.ghc-version }}
39-
enable-stack: true
4039

4140
- name: Installed minor versions of GHC, Cabal, and Stack
4241
shell: bash
4342
run: |
4443
GHC_VERSION=$(ghc --numeric-version)
4544
CABAL_VERSION=$(cabal --numeric-version)
46-
STACK_VERSION=$(stack --numeric-version)
4745
echo "GHC_VERSION=${GHC_VERSION}" >> "${GITHUB_ENV}"
4846
echo "CABAL_VERSION=${CABAL_VERSION}" >> "${GITHUB_ENV}"
49-
echo "STACK_VERSION=${STACK_VERSION}" >> "${GITHUB_ENV}"
5047
5148
- name: Configure the build
5249
run: |
5350
cabal update
5451
cabal configure --enable-tests --enable-benchmarks --disable-documentation
5552
cabal build --dry-run
56-
# stack build --test --bench --no-haddock --dry-run
57-
# The last step generates dist-newstyle/cache/plan.json for the cache key.
5853
5954
- name: Build dependencies
6055
run: cabal build --only-dependencies

0 commit comments

Comments
 (0)