-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (30 loc) · 1 KB
/
Copy pathk9-svc-validation.yml
File metadata and controls
35 lines (30 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: K9-SVC Validation
on: [push, pull_request]
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Validate contractiles
run: |
#!/bin/bash
set -euo
# Check all contractiles exist
for file in Must Trust Dust Lust Adjust Intend; do
if [ ! -f "${file}.a2ml" ]; then
echo "ERROR: Missing contractile: ${file}.a2ml"
exit 1
fi
done
echo "✓ All contractiles present"
# Basic syntax validation
for file in *.a2ml; do
if [ -f "$file" ]; then
# Check for basic structure
if ! grep -q "^// SPDX-License-Identifier:" "$file"; then
echo "ERROR: Missing SPDX header in $file"
exit 1
fi
fi
done
echo "✓ Contractile validation passed"