File tree Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -19,9 +19,6 @@ permissions:
19
19
jobs :
20
20
ruff :
21
21
runs-on : ubuntu-latest
22
- strategy :
23
- matrix :
24
- python-version : ['py39']
25
22
26
23
steps :
27
24
- name : Harden the runner (Audit all outbound calls)
@@ -32,15 +29,10 @@ jobs:
32
29
- name : Checkout
33
30
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
34
31
35
- # Ruff does not need a specific python version installed
36
- - name : Install dependencies
37
- run : |
38
- python -m pip install 'ruff==0.11.13'
39
-
40
32
- name : Lint with Ruff
41
- run : |
42
- ruff check --target-version ${{ matrix.python-version }} --output-format=github
33
+ uses : astral-sh/ruff-action@v3
43
34
44
35
- name : Check format with Ruff
45
- run : |
46
- ruff format --check
36
+ uses : astral-sh/ruff-action@v3
37
+ with :
38
+ args : format --check
You can’t perform that action at this time.
0 commit comments