diff --git a/.github/workflows/nvi-ci.yml b/.github/workflows/nvi-ci.yml index b828651ec..eea21af9b 100644 --- a/.github/workflows/nvi-ci.yml +++ b/.github/workflows/nvi-ci.yml @@ -27,18 +27,16 @@ jobs: - name: Checkout code uses: actions/checkout@v6 - - name: Set up Python - uses: actions/setup-python@v6 + - name: Install Ruff + uses: astral-sh/ruff-action@v3 with: - python-version: '3.10' - - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install -r dev/fmt-requirements.txt + args: "--version" - - name: Run checkstyle - run: make checkstyle + - name: Ruff check + run: ruff check --output-format=concise + + - name: Ruff format + run: ruff format --check --diff tests: runs-on: ubuntu-latest