script changes, aave option deployt and pm2 deploy #1817
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: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- "**" | |
jobs: | |
ci-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup SSH | |
env: | |
LYRA_UTILS_SSH: ${{secrets.LYRA_UTILS}} | |
run: mkdir $HOME/.ssh && echo "$LYRA_UTILS_SSH" > $HOME/.ssh/id_rsa && chmod 600 $HOME/.ssh/id_rsa | |
- name: Install Submodules | |
run: git submodule update --init --recursive | |
- name: Install Foundry | |
uses: onbjerg/foundry-toolchain@v1 | |
with: | |
version: nightly | |
# - name: Check snapshot | |
# run: forge snapshot --check | |
- name: Check format | |
run: forge fmt --check | |
- name: Run Coverage | |
run: forge coverage --report summary |