Files
RuoYi-Vue3-FastAPI/.github/workflows/ruff.yml
T
insistence f5b2bf5adc chore: 移除对python3.9的支持 (#67)
* chore: 移除对python3.9的支持

* chore: ci移除python3.9测试
2026-01-20 15:15:33 +08:00

34 lines
697 B
YAML

name: Ruff Check
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
lint-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff
- name: Run linting
run: |
ruff check ruoyi-fastapi-backend
ruff check ruoyi-fastapi-test
- name: Run format check
run: |
ruff format ruoyi-fastapi-backend --check
ruff format ruoyi-fastapi-test --check