From 26e1853c8644cf8b2a0d1c6c55081d814798c9ec Mon Sep 17 00:00:00 2001 From: cloudix_mcp_server Date: Fri, 12 Jun 2026 16:51:14 -0400 Subject: [PATCH] feat: add PR workflow with lint and test --- .gitea/workflows/pr.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 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..6a6be68 --- /dev/null +++ b/.gitea/workflows/pr.yaml @@ -0,0 +1,24 @@ +name: PR Checks + +on: + pull_request: + branches: [master] + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 + - name: Hadolint + uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 + with: + dockerfile: Dockerfile + + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 + - name: Build image + run: docker build -t ci-image:${{ github.sha }} . + - name: Run tests + run: bash tests/test.sh ci-image:${{ github.sha }}