Adding slither static analyzer #267
This file contains 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: Verify Upgradeable | |
on: | |
push: | |
branches: | |
- main | |
- staging | |
- development | |
pull_request: | |
branches: | |
- main | |
- staging | |
- development | |
types: | |
- opened | |
- synchronize | |
jobs: | |
test: | |
name: Test Upgradeable | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Setup NodeJS | |
uses: actions/setup-node@v2 | |
with: | |
node-version: "18" | |
cache: "yarn" | |
- name: Install dependencies | |
run: yarn --ignore-scripts | |
- name: Run tests | |
run: |- | |
cd packages/upgradeable | |
yarn test | |