agent-flow / .github /workflows /py_autofix.yml
Tai Truong
fix readme
d202ada
raw
history blame contribute delete
511 Bytes
name: autofix.ci
on:
pull_request:
paths:
- "**/*.py"
env:
POETRY_VERSION: "1.8.2"
jobs:
lint:
name: Run Ruff Check and Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: "Setup Environment"
uses: ./.github/actions/setup-uv
- run: uv run ruff check --fix-only .
- run: uv run ruff format .
- uses: autofix-ci/action@ff86a557419858bb967097bfc916833f5647fa8c
- name: Minimize uv cache
run: uv cache prune --ci