Add pre commit (#6)
Validate actions / validate (push) Successful in 3s

Reviewed-on: #6
Co-authored-by: peet <peet@noctrl.eu>
This commit was merged in pull request #6.
This commit is contained in:
peet authored and peet committed 2026-09-06 15:53:44 +02:00
1 parent cc11e264c6
commit c4e10c5044
4 files changed
+185

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
name: Validate actions
# Lint-only workflow: this repo holds reusable composite actions, so there is
# nothing to build — validation via pre-commit is the whole pipeline.
on:
push:
branches:
- main
jobs:
validate:
runs-on:
- linux
- build
- amd64
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Run pre-commit hooks
run: |
set -euo pipefail
pre-commit run --all-files --show-diff-on-failure