build(deps-dev): bump ruff from 0.5.0 to 0.5.1 #598
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: New commit pushed and receive pull request | |
on: | |
pull_request: | |
push: | |
workflow_dispatch: | |
inputs: | |
git_rev: | |
description: 'git revision' | |
required: false | |
default: '' | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
ref: '${{ github.event.inputs.git_rev }}' | |
- name: Set up Python 3.12 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.12" | |
- name: Install dependencies | |
run: | | |
python -m pip install -U pip poetry invoke | |
inv env.init-dev --no-pre-commit | |
- name: Run pre-commit hooks | |
run: | | |
SKIP=no-commit-to-branch,commitizen-branch inv run-pre-commit-hooks |