Download .github/workflows/ruff.yml from zhicao/i2rt: direct link, hf CLI and curl.
- Browser
- Download file 599 Bytes
-
https://huggingface.co/zhicao/i2rt/resolve/main/.github/workflows/ruff.yml
- Command line
-
hf download hf://zhicao/i2rt/.github/workflows/ruff.yml
-
curl -L -o ruff.yml https://huggingface.co/zhicao/i2rt/resolve/main/.github/workflows/ruff.yml
599 Bytes
| name: ruff_CI | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| schedule: | |
| - cron: "0 0 * * 0" | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 1 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install ruff==0.15.4 | |
| # Update output format to enable automatic inline annotations. | |
| - name: Run Ruff | |
| run: ruff check --output-format=github . | |