Skip to content

ci: simplify 'linters' GitHub Actions workflow #2822

ci: simplify 'linters' GitHub Actions workflow

ci: simplify 'linters' GitHub Actions workflow #2822

Workflow file for this run

name: linters
on:
push:
branches:
- main
- v14
pull_request:
branches:
- main
- v14
jobs:
linters:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.x"
cache: pip
cache-dependency-path: .pre-commit-config.yaml
- run: pip install pre-commit
- run: pre-commit run --all-files