|
1 | | -- name: ruff-action |
| 1 | + - name: Ruff Check |
2 | 2 | # You may pin to the exact commit or the version. |
3 | | - # uses: astral-sh/ruff-action@0c50076f12c38c3d0115b7b519b54a91cb9cf0ad |
4 | | - uses: astral-sh/ruff-[email protected].0 |
| 3 | + # uses: jpetrucciani/ruff-check@95ff5ea372c5099efb7a38151f8aef8fee435c47 |
| 4 | + uses: jpetrucciani/ruff-[email protected].0 |
5 | 5 | with: |
6 | | - # Arguments passed to Ruff. Use `ruff --help` to see available options. Defaults to `check`. |
7 | | - args: # optional, default is check |
8 | | - # Source to run Ruff. Defaults to the current directory. |
9 | | - src: # optional, default is ${{ github.workspace }} |
10 | | - # The version of Ruff to use, e.g., `0.6.0` Defaults to the version in pyproject.toml or 'latest'. |
11 | | - version: # optional, default is |
12 | | - # Path to a pyproject.toml or requirements.txt file to read the version from. |
13 | | - version-file: # optional |
14 | | - # The checksum of the ruff version to install |
15 | | - checksum: # optional |
16 | | - # Used to increase the rate limit when retrieving versions and downloading ruff. |
17 | | - github-token: # optional, default is ${{ github.token }} |
| 6 | + # File or directory to run ruff on |
| 7 | + path: # optional, default is . |
| 8 | + # Optional ruff flags (refer to `ruff --help`) |
| 9 | + flags: # optional, default is |
| 10 | + # Format to output ruff messages in |
| 11 | + format: # optional, default is github |
18 | 12 |
|
0 commit comments