Use the ruff version specified in pyproject.toml for CI checks (#2960)
Previously, the ruff system package was used, which could lag behind the PyPI version.
This commit is contained in:
parent
80eebcff4f
commit
45bc9c2e65
|
|
@ -7,6 +7,16 @@ jobs:
|
||||||
image: archlinux/archlinux:latest
|
image: archlinux/archlinux:latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- run: pacman --noconfirm -Syu ruff
|
- 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
|
- name: Lint with ruff
|
||||||
run: ruff check
|
run: ruff check
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue