Skip to content

Actions(deps): Bump actions/checkout from 4.1.0 to 4.1.1 #771

Actions(deps): Bump actions/checkout from 4.1.0 to 4.1.1

Actions(deps): Bump actions/checkout from 4.1.0 to 4.1.1 #771

Workflow file for this run

# Copyright (C) 2021 Sebastian Pipping <sebastian@pipping.org>
# Licensed under GNU Affero GPL version 3 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-22.04
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Set up Python 3.9
uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1
with:
python-version: 3.9
- name: Install pre-commit
run: |-
pip install \
--disable-pip-version-check \
--user \
--no-warn-script-location \
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