修正错误的冷启动权重调整 #580
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 | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| jobs: | |
| ruff: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup uv | |
| uses: astral-sh/setup-uv@v3 | |
| with: | |
| enable-cache: true | |
| - name: Setup Python | |
| run: uv python install 3.8.10 | |
| - name: Set up venv | |
| run: uv venv | |
| - name: Install Ruff via uv | |
| run: uv pip install ruff | |
| - name: Run Ruff | |
| run: uv run ruff check --output-format=github . |