Skip to content

Esolang Interpreters #2 - Custom Smallf*ck Interpreter (#5) #575

Esolang Interpreters #2 - Custom Smallf*ck Interpreter (#5)

Esolang Interpreters #2 - Custom Smallf*ck Interpreter (#5) #575

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-20.04
steps:
- uses: actions/checkout@v2
- name: Setup Haskell environment
uses: haskell/actions/setup@v1
with:
ghc-version: '9.4.7'
cabal-version: '3.8.1.0'
enable-stack: true
stack-version: '2.9.3'
- name: Setup stack cache
uses: actions/cache@v2
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