From 87b0f143605cca452624362b0d830134e89b88cd Mon Sep 17 00:00:00 2001 From: forge-bot Date: Thu, 30 Jul 2026 08:30:25 +0000 Subject: [PATCH] ci: add Forgejo verification workflow --- .forgejo/workflows/verify.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .forgejo/workflows/verify.yml diff --git a/.forgejo/workflows/verify.yml b/.forgejo/workflows/verify.yml new file mode 100644 index 0000000..5a5a050 --- /dev/null +++ b/.forgejo/workflows/verify.yml @@ -0,0 +1,31 @@ +name: Verify + +on: + pull_request: + push: + +permissions: + contents: read + +jobs: + source-contract: + runs-on: ubuntu-latest + timeout-minutes: 15 + steps: + - uses: actions/checkout@v4 + + - name: Verify repository entrypoints + run: | + test -f app/build.sh + test -f app/src/ac/ac_svr.pgc + test -d app/src/ac/svc + test -f docker/docker-compose.yml + + - name: Validate JSON artifacts + run: git ls-files -z '*.json' | xargs -0 -r -n1 python3 -m json.tool >/dev/null + + - name: Validate shell scripts + run: git ls-files -z '*.sh' | xargs -0 -r -n1 bash -n + + - name: Compile analysis tools + run: python3 -m compileall -q tools