Files
mruby-mruby/.github/workflows/pre-commit.yml
T
Yukihiro "Matz" Matsumoto 638a18dfe7 replace pre-commit with prek
prek is a faster, Rust-based drop-in replacement for pre-commit.
It reads the same .pre-commit-config.yaml with no changes needed.

Co-authored-by: Claude <noreply@anthropic.com>
2026-02-10 11:14:53 +09:00

21 lines
490 B
YAML

# https://github.com/j178/prek
name: pre-commit
on: [pull_request]
permissions:
contents: read
jobs:
pre-commit:
name: Run pre-commit
runs-on: ubuntu-latest
steps:
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v6
- uses: j178/prek-action@v1
with:
extra-args: --color=always --all-files
- name: Run manual pre-commit hooks
run: prek run --color=always --all-files --hook-stage manual