From c4ece3889de01d4f39cd530895eb1eb78556e6ce Mon Sep 17 00:00:00 2001 From: Saeed Rasooli Date: Thu, 18 Jul 2024 09:01:20 +0330 Subject: [PATCH] switch to ruff 0.5.2 --- .github/workflows/ruff.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ruff.yml b/.github/workflows/ruff.yml index a9c1df1f7..92e9e4e7c 100644 --- a/.github/workflows/ruff.yml +++ b/.github/workflows/ruff.yml @@ -21,9 +21,10 @@ jobs: ls -l - name: Download ruff run: | - wget -c https://github.com/astral-sh/ruff/releases/download/v0.3.7/ruff-0.3.7-x86_64-unknown-linux-gnu.tar.gz + wget -c https://github.com/astral-sh/ruff/releases/download/0.5.2/ruff-x86_64-unknown-linux-gnu.tar.gz tar -xzf ruff-*.tar.gz + mv ruff-x86_64-unknown-linux-gnu/ruff . ls -l ruff chmod a+x ruff - name: Run ruff - run: ./ruff . + run: ./ruff check