Skip to content

fix: try to fix ruff not found error #23

fix: try to fix ruff not found error

fix: try to fix ruff not found error #23

Workflow file for this run

name: Test and lint
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- run: curl -LsSf https://astral.sh/uv/install.sh | sh
- run: source $HOME/.cargo/env
- run: uv venv
- run: . .venv/bin/activate
- run: uv python pin ${{ matrix.python-version }}
- run: uv pip install ruff pytest
- run: uv run ruff check
- run: uv run pytest -v