Add check in test workflow

pull/4549/head
Vladislav Volosnikov 1 year ago
parent 391df54429
commit a2e97d51b4
No known key found for this signature in database
GPG Key ID: 0BA5FA1BBFEFF91E
  1. 2
      .github/workflows/checks.yml
  2. 1
      package.json

@ -40,6 +40,8 @@ jobs:
run: npm run test:inheritance
- name: Check proceduraly generated contracts are up-to-date
run: npm run test:generation
- name: Check custom errors have unique names
run: npm run test:errors-uniqueness
- name: Compare gas costs
uses: ./.github/actions/gas-compare
with:

@ -27,6 +27,7 @@
"version": "scripts/release/version.sh",
"test": "hardhat test",
"test:inheritance": "scripts/checks/inheritance-ordering.js artifacts/build-info/*",
"test:errors-uniqueness": "scripts/checks/custom-errors-duplication.js artifacts/build-info/*",
"test:generation": "scripts/checks/generation.sh",
"gas-report": "env ENABLE_GAS_REPORT=true npm run test",
"slither": "npm run clean && slither ."

Loading…
Cancel
Save