PLT-7414 / PLT-7412: New repos / Filter contracts by address and role tokens #176
Workflow file for this run
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: [main] | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
- uses: purescript-contrib/setup-purescript@main | |
with: | |
purs-tidy: "latest" | |
- name: Verify formatting | |
run: purs-tidy check src example | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: "20.x" | |
- name: Install dependencies | |
run: npm install | |
- name: Build source | |
run: spago build | |
- name: Run tests | |
run: spago test | |