Merge pre-commit workflow into main (#9857)

* Merge pre-commit workflow into main

* Update build status screenshot
This commit is contained in:
Bruno Alla 2026-02-11 20:36:31 +00:00 committed by GitHub
parent cf38c94ec1
commit 80ac0a29dd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 13 additions and 22 deletions

View File

@ -11,6 +11,19 @@ concurrency:
cancel-in-progress: true
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- uses: actions/setup-python@v6
with:
python-version: "3.10"
- uses: pre-commit/action@v3.0.1
tests:
name: Python ${{ matrix.python-version }}
runs-on: ubuntu-24.04

View File

@ -1,22 +0,0 @@
name: pre-commit
on:
push:
branches:
- main
pull_request:
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- uses: actions/setup-python@v6
with:
python-version: "3.10"
- uses: pre-commit/action@v3.0.1

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 142 KiB