Skip to content

Merge pull request #51 from onekey-sec/black-to-ruff #255

Merge pull request #51 from onekey-sec/black-to-ruff

Merge pull request #51 from onekey-sec/black-to-ruff #255

Workflow file for this run

name: Check
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv & Python
uses: astral-sh/setup-uv@v6
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: Ruff format
run: |
uv run ruff format --diff --exit-non-zero-on-format
- name: Ruff check
run: |
uv run ruff check