Skip to content

refactor, ci: upgrade linting & ci setup #409

refactor, ci: upgrade linting & ci setup

refactor, ci: upgrade linting & ci setup #409

Workflow file for this run

name: Code quality
on:
push:
branches:
- master
tags:
- v*
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
python-version: [3.7, 3.8, 3.9, "3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install ".[dev]"
- name: Install pre-commit
run: pre-commit install
- name: Run pre-commit
run: pre-commit run --all-files