Skip to content

purs-tidy format-in-place src test bench #444

purs-tidy format-in-place src test bench

purs-tidy format-in-place src test bench #444

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@v2
- name: Set up a PureScript toolchain
uses: purescript-contrib/setup-purescript@main
with:
purescript: "unstable"
purs-tidy: "latest"
- name: Cache PureScript dependencies
uses: actions/cache@v2
with:
key: ${{ runner.os }}-spago-${{ hashFiles('**/*.dhall') }}-2
path: |
.spago
output
- name: Install dependencies
run: spago install
- name: Build source
run: spago build --no-install --purs-args '--censor-lib --strict --censor-codes='UserDefinedWarning''
- name: Install dev dependencies
run: spago -x spago-dev.dhall install
- name: Run tests
run: spago -x spago-dev.dhall test --no-install
- name: Check formatting
run: purs-tidy check src test bench