Skip to content

ci: fix Layer 3b verify-capabilities wiring + bump setup-wfctl to v0.63.2 (workflow#765) #23

ci: fix Layer 3b verify-capabilities wiring + bump setup-wfctl to v0.63.2 (workflow#765)

ci: fix Layer 3b verify-capabilities wiring + bump setup-wfctl to v0.63.2 (workflow#765) #23

Workflow file for this run

# .github/workflows/wfctl-validate.yml
name: wfctl strict contracts
on:
pull_request:
push:
branches: [main, master]
jobs:
wfctl-strict-contracts:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Check plugin.json and plugin.contracts.json exist
run: |
if [ ! -f plugin.json ]; then
echo "::error::plugin.json is missing — add a plugin manifest to enable strict contract validation"
exit 1
fi
if [ ! -f plugin.contracts.json ]; then
echo "::error::plugin.contracts.json is missing — add a contracts file to pass strict contract validation"
exit 1
fi
- uses: GoCodeAlone/setup-wfctl@bcd880980f5bbe8d192d0c20ff6279d25331f956
with:
version: latest
token: ${{ secrets.RELEASES_TOKEN }}
- name: Validate strict plugin contracts
run: wfctl plugin validate --file plugin.json --strict-contracts