Skip to content

Feature/rust implementation #558

Feature/rust implementation

Feature/rust implementation #558

Workflow file for this run

name: Check Python

Check failure on line 1 in .github/workflows/check_python.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/check_python.yml

Invalid workflow file

(Line: 11, Col: 7): A mapping was not expected
on: [pull_request]
jobs:
test-python:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./python/x402
steps:
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: Set up Python
run: uv python install
- name: Install dependencies
run: uv sync --all-extras --dev
- name: Run Tests
run: pytest
lint-python:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./python/x402
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: Lint
run: uvx ruff check