Bump peter-evans/create-pull-request from 7.0.1 to 7.0.2 #420
Workflow file for this run
This file contains 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
name: pre-commit-ci | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
pre-commit: | |
name: "Pre-commit checks" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
id: setup_python | |
with: | |
python-version: "3.12" | |
- name: Install pre-commit | |
run: pip install pre-commit | |
- name: Cache pre-commit tools | |
uses: actions/cache@v4 | |
with: | |
key: pre-commit-${{ runner.os }}-${{ steps.setup_python.outputs.python-version}}-${{ hashFiles('.pre-commit-config.yaml') }} | |
path: ~/.cache/pre-commit | |
- name: Run pre-commit | |
run: pre-commit run --all-files --show-diff-on-failure | |
- name: Run pre-commit-ci-lite | |
uses: pre-commit-ci/[email protected] | |
if: always() |