Skip to content

CI: tweaks to CI job triggers and names #29

CI: tweaks to CI job triggers and names

CI: tweaks to CI job triggers and names #29

Workflow file for this run

name: Style checks
on:
push:
branches:
- v1.**
pull_request:
branches:
- master
- v1.**
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
format:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install packages
run: |
pip install --upgrade pip
pip install pre-commit
pip list
- name: Lint
run: pre-commit run --all-files --show-diff-on-failure --color always