spago next. delete bower.json, package.json. (#57) #85
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: purescript-contrib/setup-purescript@main | |
with: | |
purescript: "unstable" | |
purs-tidy: "latest" | |
spago: "unstable" | |
- name: Build source | |
run: spago build | |
- name: Run tests | |
run: | | |
set -x | |
spago test | |
spago test --main Test.Main1 | |
spago test --main Test.Main2 | |
spago test --main Test.Main3 -- <(head --bytes 1000000 /dev/zero) | |
spago test --main Test.Main4 | |
- name: Check formatting | |
run: | | |
purs-tidy check src test |