pre-commit is handled automatically by pre-commit.ci

This commit is contained in:
bobokun 2025-08-30 09:23:50 -04:00
parent 8c74c3a855
commit f24f069408
No known key found for this signature in database
GPG key ID: B73932169607D927
2 changed files with 1 additions and 48 deletions

View file

@ -1,47 +0,0 @@
name: Run Pre-Commit
on:
pull_request:
branches:
- develop # Adjust as needed to only run on branches containing 'develop'
push:
branches:
- develop # Adjust as needed
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.9'
- name: Install uv
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Install dependencies
run: |
uv venv .venv
source .venv/bin/activate
uv pip install pre-commit
- name: Run pre-commit version check
run: |
source .venv/bin/activate
pre-commit run increase-version --all-files
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: astral-sh/ruff-action@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
command: 'ruff check'

View file

@ -1 +1 @@
4.5.6-develop15
4.5.6-develop16