Skip to content

Solve 'Array - squareUp b!' kata #623

Solve 'Array - squareUp b!' kata

Solve 'Array - squareUp b!' kata #623

Workflow file for this run

---
name: Build and run tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
name: Run stack
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Haskell environment
uses: haskell-actions/setup@v2
with:
ghc-version: '9.4.8'
cabal-version: '3.10.3.0'
enable-stack: true
stack-version: '2.15.5'
- name: Setup stack cache
uses: actions/cache@v4
with:
path: |
~/.stack
.stack-work
key: ${{ runner.os }}-stack-${{ hashFiles('stack.yaml.lock', 'package.yaml') }}
restore-keys: |
${{ runner.os }}-stack
- name: Build solution
run: stack build
- name: Run tests
run: stack test