Skip to content

[pre-commit.ci] pre-commit autoupdate #406

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #406

Workflow file for this run

name: ruff
on:
push:
branches-ignore:
- dependabot/**
- weblate
pull_request:
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.cache/pip
~/.cache/pre-commit
key: ${{ runner.os }}-pip-lint-${{ hashFiles('**/requirements*.txt') }}-${{ hashFiles('.pre-commit-config.yaml') }}
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
pip install -r requirements-lint.txt
- name: Run ruff
run: |
pre-commit run ruff --all