Add validate workflow and actionlint hook
Lint-only pipeline: run pre-commit on push to main; no build needed. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016TPnPhJbaFEWFLgY6e9WbH
This commit is contained in:
1 parent
74cf45ca98
commit
92f8e929e7
3 files changed
+37
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user