Skip to content

chore(deps): bump web3 from 7.10.0 to 7.15.0 (#24) #234

chore(deps): bump web3 from 7.10.0 to 7.15.0 (#24)

chore(deps): bump web3 from 7.10.0 to 7.15.0 (#24) #234

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v6
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest pytest-asyncio pytest-cov httpx aiosqlite
- name: Run tests with coverage
run: |
pytest tests/ -v --tb=short --co -q 2>/dev/null | head -5
pytest tests/ -v --tb=short --cov=. --cov-report=term-missing --cov-report=xml
env:
TESTING: "1"
- name: Upload coverage
if: matrix.python-version == '3.12'
uses: actions/upload-artifact@v7
with:
name: coverage-report
path: coverage.xml
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.12"
- name: Install ruff
run: pip install ruff
- name: Lint
run: ruff check .
security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.12"
- name: Audit dependencies
run: |
pip install pip-audit
pip install -r requirements.txt
pip-audit --strict
ts-sdk:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Node.js
uses: actions/setup-node@v6
with:
node-version: "20"
- name: Build TypeScript SDK
working-directory: sdk/ts
run: |
npm install
npx tsc --noEmit
npx tsup src/index.ts --format esm,cjs --dts --clean