Skip to content

Commit

Permalink
added tidy check
Browse files Browse the repository at this point in the history
  • Loading branch information
martyall committed Sep 22, 2023
1 parent 2c6f478 commit 27be2d8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/test-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ jobs:
npm run chanterelle-build
npm run build
working-directory: example
- name: lint
run: |
npm run tidy-check
working-directory: example
- name: test
run: |
docker run --rm -d -it -p 8545:8545 foamspace/cliquebait:latest
Expand Down
4 changes: 3 additions & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
"chanterelle-build": "spago run -m ChanterelleMain --node-args=\"build\"",
"test": "spago test",
"deploy": "spago run",
"tidy": "purs-tidy format-in-place \"src/**/*.purs\" \"test/**/*.purs\""
"tidy": "purs-tidy format-in-place \"src/**/*.purs\" \"test/**/*.purs\"",
"tidy-check": "purs-tidy check \"src/**/*.purs\" \"test/**/*.purs\""

},
"dependencies": {
"ethjs-provider-http": "^0.1.6",
Expand Down

0 comments on commit 27be2d8

Please sign in to comment.