Skip to content

Commit

Permalink
Merge pull request #2 from DeFiFoFum/feature/lint-ci
Browse files Browse the repository at this point in the history
Add lint Github action
  • Loading branch information
DeFiFoFum authored Aug 17, 2022
2 parents 738d47f + 6d551e3 commit c7819c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: tests
name: lint & test

on:
push:
Expand Down Expand Up @@ -32,4 +32,5 @@ jobs:
restore-keys: |
${{ matrix.os }}-yarn-
- run: yarn
- run: yarn lint:ci
- run: yarn test:ci
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"compile": "hardhat compile",
"lint:sol": "solhint 'contracts/**/*.sol' && prettier --check 'contracts/**/*.sol'",
"lint:sol:fix": "prettier --write 'contracts/**/*.sol'",
"lint:ci": "yarn lint:sol",
"test": "hardhat test",
"test:gas": "env ENABLE_GAS_REPORT=true yarn test",
"test:ci": "yarn test",
Expand Down

0 comments on commit c7819c2

Please sign in to comment.