Fix QuantStamp Audit ENS-4: _maxWithdrawable() and _maxDepositable() … #169
Workflow file for this run
This file contains hidden or 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: Ensuro SmartContract Tests | |
| on: [push] | |
| jobs: | |
| tests: | |
| name: Ensuro Tests | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 20 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| - uses: actions/setup-node@v3 | |
| with: | |
| node-version: "22" | |
| cache: "npm" | |
| - run: npm ci | |
| - run: npx hardhat compile | |
| - run: npx hardhat size-contracts | |
| - run: npm run solhint | |
| - run: npx hardhat test | |
| env: | |
| REPORT_GAS: "1" | |
| ALCHEMY_URL: ${{ secrets.ALCHEMY_URL }} | |
| - run: npx hardhat coverage | |
| env: | |
| ALCHEMY_URL: ${{ secrets.ALCHEMY_URL }} |