requirements(deps): bump types-pyyaml from 6.0.12.11 to 6.0.12.12 #2515
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
# Copyright (C) 2021 Sebastian Pipping <[email protected]> | |
# Licensed under GNU Affero GPL v3 or later | |
name: Run pre-commit on all files | |
on: | |
- pull_request | |
- push | |
jobs: | |
run_pre_commit: | |
name: Run pre-commit on all files | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0 | |
with: | |
python-version: 3.11 | |
- name: Install pre-commit | |
run: |- | |
pip install \ | |
--disable-pip-version-check \ | |
--no-warn-script-location \ | |
--user \ | |
pre-commit | |
echo "PATH=${HOME}/.local/bin:${PATH}" >> "${GITHUB_ENV}" | |
- name: Install pre-commit hooks | |
run: |- | |
pre-commit install --install-hooks | |
- name: Run pre-commit on all files | |
run: |- | |
pre-commit run --all-files --show-diff-on-failure |