Merge pull request #867 from kevin1024/precommit-autoupdate #186
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (c) 2023 Sebastian Pipping <sebastian@pipping.org> | |
# Licensed under the MIT license | |
name: Run pre-commit | |
on: | |
- pull_request | |
- push | |
- workflow_dispatch | |
jobs: | |
pre-commit: | |
name: Run pre-commit | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.12 | |
- uses: pre-commit/action@v3.0.1 |