14 lines
266 B
YAML
14 lines
266 B
YAML
name: pre-commit
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
|
|
jobs:
|
|
pre-commit:
|
|
runs-on: self-hosted
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
- name: Pre-commit
|
|
run: pre-commit run --show-diff-on-failure --color=always --all-files
|