Feat/aave and morpho vaults #669
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: Static Checks | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: {} | |
| workflow_dispatch: {} | |
| permissions: | |
| contents: read | |
| jobs: | |
| static-checks: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/[email protected] | |
| - name: Enable Corepack | |
| run: corepack enable | |
| - uses: actions/[email protected] | |
| with: | |
| node-version: '22' | |
| cache: 'yarn' | |
| - name: Setup safe-chain | |
| run: | | |
| npm i -g @aikidosec/safe-chain | |
| safe-chain setup-ci | |
| - name: Install dependencies | |
| run: yarn | |
| - name: Lint Solidity | |
| run: yarn lint:sol | |
| - name: Lint TypeScript | |
| run: yarn lint:ts | |
| - name: Format Check Solidity | |
| run: yarn format:sol | |
| - name: Format Check TypeScript | |
| run: yarn format:ts | |
| - name: Format Check YAML | |
| run: yarn format:yml | |
| - name: Build Contracts | |
| run: yarn build | |
| - name: Test Contracts | |
| run: yarn test:unit:parallel --bail --no-compile --disabletracer | |
| env: | |
| ALCHEMY_KEY: ${{ secrets.ALCHEMY_KEY }} | |
| MNEMONIC_DEV: ${{ vars.MNEMONIC_DEV }} | |
| MNEMONIC_PROD: ${{ vars.MNEMONIC_PROD }} |