Skip to content

Merge pull request #135 from googlefonts/dependabot/pip/pre-commit-4.0.1 #113

Merge pull request #135 from googlefonts/dependabot/pip/pre-commit-4.0.1

Merge pull request #135 from googlefonts/dependabot/pip/pre-commit-4.0.1 #113

Workflow file for this run

name: Run tests
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["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 Python dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pre-commit==3.6.2
- name: Run pre-commit
uses: pre-commit/[email protected]
with:
extra_args: --all-files --verbose --show-diff-on-failure