Skip to content

Merge pull request #171 from sheldor1510/update-api-ref #32

Merge pull request #171 from sheldor1510/update-api-ref

Merge pull request #171 from sheldor1510/update-api-ref #32

Workflow file for this run

name: Run pre-commit checks
on:
pull_request:
push:
jobs:
run-linters:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Configure caching
uses: actions/cache@v4
with:
path: ~/.cache/pre-commit
key: precommit-${{ runner.os }}-${{ hashFiles('.pre-commit-config.yaml') }}
- name: Install pre-commit
run: |
pip install pre-commit
- name: Run linters
run: |
pre-commit run --all-files