From 338ce8054a7e79ca9bd16687f7faed9c4dbe30c2 Mon Sep 17 00:00:00 2001 From: cloudix_mcp_server Date: Fri, 12 Jun 2026 16:08:14 -0400 Subject: [PATCH] feat(ci): add PR checks workflow with hadolint and build-test --- .gitea/workflows/pr.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .gitea/workflows/pr.yaml diff --git a/.gitea/workflows/pr.yaml b/.gitea/workflows/pr.yaml new file mode 100644 index 0000000..66fedd5 --- /dev/null +++ b/.gitea/workflows/pr.yaml @@ -0,0 +1,25 @@ +name: PR Checks + +on: + pull_request: + +jobs: + hadolint: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 + - name: Hadolint + uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0 + continue-on-error: true + + build-test: + runs-on: ubuntu-latest + needs: hadolint + steps: + - name: Checkout + uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 + - name: Build image + run: docker build -t ci-image:${{ github.sha }} . + - name: Run tests + run: bash tests/test.sh ci-image:${{ github.sha }}