Skip to content

Merge pull request #7 from QuantWealth/5-aave-v3-batch #11

Merge pull request #7 from QuantWealth/5-aave-v3-batch

Merge pull request #7 from QuantWealth/5-aave-v3-batch #11

Workflow file for this run

name: CI
on: [push]
concurrency:
group: ${{github.workflow}}-${{github.ref}}
cancel-in-progress: true
env:
MAINNET_RPC: ${{ secrets.MAINNET_RPC }}
SEPOLIA_RPC: ${{ secrets.SEPOLIA_RPC }}
jobs:
# unit-tests:
name: Run Unit Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: 'yarn'
- name: Install dependencies
run: yarn --frozen-lockfile --network-concurrency 1
- name: Precompile using 0.8.14 and via-ir=false
run: yarn build
- name: Run tests
shell: bash
run: yarn test:unit
# integration-tests:
# name: Run Integration Tests
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - name: Install Foundry
# uses: foundry-rs/foundry-toolchain@v1
# with:
# version: nightly
# - name: Use Node.js
# uses: actions/setup-node@v3
# with:
# node-version: 18.x
# cache: 'yarn'
# - name: Install dependencies
# run: yarn --frozen-lockfile --network-concurrency 1
# - name: Precompile using 0.8.14 and via-ir=false
# run: yarn build
# - name: Run tests
# run: yarn test:integration

Check failure on line 66 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

You have an error in your yaml syntax on line 66
lint:
name: Lint Commit Messages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@v5
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: 'yarn'
- name: Install dependencies
run: yarn --frozen-lockfile --network-concurrency 1
- run: yarn lint:check