Skip to content

0.1.0(py): weth:wrap_eth #809

0.1.0(py): weth:wrap_eth

0.1.0(py): weth:wrap_eth #809

Workflow file for this run

name: Lint
on: [pull_request]
jobs:
lint-cdp-agentkit-core-python:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./python/coinbase-agentkit
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: latest
virtualenvs-create: true
virtualenvs-in-project: true
- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v3
with:
path: .venv
key: venv-coinbase-agentkit-${{ runner.os }}-${{ hashFiles('poetry.lock') }}
- name: Install dependencies
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: poetry install --with dev
- name: Run linters
run: poetry run make lint
lint-typescript:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "18"
cache: "npm"
# Install dependencies in parent directory first
- run: npm install
# formatting/lint in working directory
- name: Check formatting/lint
run: |
npm run format:check
npm run lint