diff --git a/.github/actions/zig-hexadeca-check/action.yml b/.github/actions/zig-unified-api-adapter-check/action.yml similarity index 63% rename from .github/actions/zig-hexadeca-check/action.yml rename to .github/actions/zig-unified-api-adapter-check/action.yml index 19ab3fe..76eb6da 100755 --- a/.github/actions/zig-hexadeca-check/action.yml +++ b/.github/actions/zig-unified-api-adapter-check/action.yml @@ -1,19 +1,19 @@ -name: 'Zig Hexadeca Check' -description: 'Checks that Zig FFI implementations adhere to the unified-hexadeca-api and are pure.' +name: 'Zig UnifiedApiAdapter Check' +description: 'Checks that Zig FFI implementations adhere to the unified-api-adapter and are pure.' runs: using: 'composite' steps: - - name: Run Zig Hexadeca Check + - name: Run Zig UnifiedApiAdapter Check shell: bash run: | - echo "Validating Zig Hexadeca API..." + echo "Validating Zig UnifiedApiAdapter API..." if find . -name "*.zig" | grep -q .; then # Ensure it doesn't use standard library io or std.fs directly for FFI if git grep -E 'std\.fs|std\.io' -- '*.zig'; then - echo "::error::Zig FFI modules contain prohibited side-effects (std.fs/std.io). Must use unified-hexadeca-api." + echo "::error::Zig FFI modules contain prohibited side-effects (std.fs/std.io). Must use unified-api-adapter." exit 1 fi - echo "Zig Hexadeca API check passed." + echo "Zig UnifiedApiAdapter API check passed." else echo "No Zig files found. Skipping check." fi