build(deps-dev): bump ruff from 0.6.5 to 0.7.2 #775
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 pipenv 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 | |
- name: Run slow tests | |
run: | | |
inv test --run-slow-tests |