Skip to content

Commit

Permalink
Use the official ruff GitHub action instead of custom code
Browse files Browse the repository at this point in the history
This speeds up PR checks and reduces network I/O.
  • Loading branch information
correctmost committed Feb 1, 2025
1 parent 94ae4e3 commit 1dfe79b
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions .github/workflows/ruff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 1dfe79b

Please sign in to comment.