Skip to content

feat: use Variant, 5 more parsers + spago.yaml #40

feat: use Variant, 5 more parsers + spago.yaml

feat: use Variant, 5 more parsers + spago.yaml #40

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up a PureScript toolchain
uses: purescript-contrib/setup-purescript@main
with:
purescript: "latest"
purs-tidy: "latest"
spago: "unstable"
- name: Cache PureScript dependencies
uses: actions/cache@v2
with:
key: ${{ runner.os }}-spago-${{ hashFiles('**/spago.lock') }}
path: |
.spago
output
- name: Install dependencies
run: spago install
- name: Build source
run: spago build --offline
- name: Run tests
run: spago test --offline
- name: Check formatting
run: purs-tidy check src test