From f510df21ed7ecaca253552167398386ffaf172d7 Mon Sep 17 00:00:00 2001 From: Alexey Kotlyarov Date: Fri, 15 Mar 2024 22:11:08 +1100 Subject: [PATCH] chore: Use build and test from Stack action --- .github/workflows/main.yaml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index c1c6007..6d37cef 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -13,19 +13,10 @@ jobs: uses: actions/checkout@v4 - name: Install system dependencies run: sudo ./install-deps - - name: Set up Stack + - name: Build uses: freckle/stack-action@v5 - - name: Set up cache - uses: actions/cache@v4 with: - key: stack - path: ~/.stack - - name: Install dependencies - run: | - stack --no-terminal --install-ghc test --only-dependencies - - name: Test - run: | - stack --no-terminal test + stack-build-arguments: --fast publish: needs: