Skip to content

Commit

Permalink
activate fmt:check
Browse files Browse the repository at this point in the history
  • Loading branch information
josojo committed Nov 28, 2023
1 parent c6f295c commit 7d06c27
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,5 @@ jobs:
restore-keys: |
${{ matrix.os }}-yarn-
- run: yarn --frozen-lockfile
- run: yarn lint
- run: yarn lint
- run: yarn fmt:check
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"license": "MIT",
"scripts": {
"fmt": "prettier 'contracts/**/*.sol' -w && prettier 'test/**/*.sol' -w",
"fmt:check": "prettier 'contracts/**/*.sol' -w && prettier 'test/**/*.sol' -c",
"lint": "solhint 'contracts/**/*.sol' 'test/**/*.sol'"
},
"dependencies": {
Expand Down

0 comments on commit 7d06c27

Please sign in to comment.