Skip to content

Commit 463cfe3

Browse files
cclaussamilcarlucas
authored andcommitted
fix(ruff.yml): Use astral-sh/ruff-action
1 parent c636d27 commit 463cfe3

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

.github/workflows/ruff.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ permissions:
1919
jobs:
2020
ruff:
2121
runs-on: ubuntu-latest
22-
strategy:
23-
matrix:
24-
python-version: ['py39']
2522

2623
steps:
2724
- name: Harden the runner (Audit all outbound calls)
@@ -32,15 +29,10 @@ jobs:
3229
- name: Checkout
3330
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3431

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-
4032
- name: Lint with Ruff
41-
run: |
42-
ruff check --target-version ${{ matrix.python-version }} --output-format=github
33+
uses: astral-sh/ruff-action@v3
4334

4435
- name: Check format with Ruff
45-
run: |
46-
ruff format --check
36+
uses: astral-sh/ruff-action@v3
37+
with:
38+
args: format --check

0 commit comments

Comments
 (0)