From e84c1a82be22c15a4ecbfe801ed2c7bbd90e7964 Mon Sep 17 00:00:00 2001 From: Bryan Richter Date: Fri, 13 Feb 2026 10:41:05 +0200 Subject: [PATCH] Try to cache stack and ghc install --- .github/workflows/build.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 914a302..dd14fd6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,20 +13,20 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - uses: haskell/ghcup-setup@v1 + id: ghcup + with: + stack-hook: true - uses: actions/cache@v4 with: path: | - ~/.ghcup + ${{ steps.ghcup.outputs.basedir }} ~/.stack key: stack-${{ runner.os }}-${{ hashFiles('stack.yaml') }} restore-keys: | stack-${{ runner.os }}- ${{ runner.os }}- - - uses: haskell/ghcup-setup@v1 - with: - stack-hook: true - - run: | - ghcup install stack + - run: ghcup install stack - run: stack test flake-no-push: