fix: 修复新增和编辑部门无法使用已删除的部门名称问题 (#60) #11
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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.9" | |
| - 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 |