Skip to content

Commit 37e674b

Browse files
Update main.yml
1 parent e36c516 commit 37e674b

File tree

1 file changed

+9
-15
lines changed

1 file changed

+9
-15
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
1-
- name: ruff-action
1+
- name: Ruff Check
22
# 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
55
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
1812

0 commit comments

Comments
 (0)