From fb3dd7da4c32e5a76ce2342538d9b32e8b576dbf Mon Sep 17 00:00:00 2001 From: correctmost <134317971+correctmost@users.noreply.github.com> Date: Sat, 1 Feb 2025 06:04:28 +0000 Subject: [PATCH] Use the official ruff GitHub action instead of custom code (#3156) This speeds up PR checks and reduces network I/O. --- .github/workflows/ruff.yaml | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/.github/workflows/ruff.yaml b/.github/workflows/ruff.yaml index 53067149d4..ae7ac8698d 100644 --- a/.github/workflows/ruff.yaml +++ b/.github/workflows/ruff.yaml @@ -3,20 +3,6 @@ name: ruff linting jobs: ruff: runs-on: ubuntu-latest - container: - image: archlinux/archlinux:latest steps: - uses: actions/checkout@v4 - - name: Prepare arch - run: | - pacman-key --init - pacman --noconfirm -Sy archlinux-keyring - pacman --noconfirm -Syyu - pacman --noconfirm -Sy python-pip python-pyparted pkgconfig gcc - - run: pip install --break-system-packages --upgrade pip - - name: Install ruff - run: pip install --break-system-packages .[dev] - - run: python --version - - run: ruff --version - - name: Lint with ruff - run: ruff check + - uses: astral-sh/ruff-action@v3