Skip to content

Actions(deps): Bump actions/setup-python from 4.7.1 to 5.0.0 #257

Actions(deps): Bump actions/setup-python from 4.7.1 to 5.0.0

Actions(deps): Bump actions/setup-python from 4.7.1 to 5.0.0 #257

Workflow file for this run

# Copyright (c) 2023 Sebastian Pipping <[email protected]>
# Licensed under the Apache License Version 2.0
name: Run pre-commit
# Drop permissions to minimum for security
permissions:
contents: read
on:
pull_request:
push:
schedule:
- cron: '0 2 * * 5' # Every Friday at 2am
workflow_dispatch:
jobs:
pre_commit_run:
name: Run pre-commit
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
with:
python-version: 3.11
- name: Install yapf (to be available to pre-commit)
run: |-
pip install \
--disable-pip-version-check \
--no-warn-script-location \
--user \
.
echo "PATH=${HOME}/.local/bin:${PATH}" >> "${GITHUB_ENV}"
- uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507 # v3.0.0