From d71e9eb20b40f74f5310d345a818df21fea8431b Mon Sep 17 00:00:00 2001 From: cloudix_mcp_server Date: Fri, 12 Jun 2026 16:40:13 -0400 Subject: [PATCH] =?UTF-8?q?feat(ci):=20add=20PR=20checks=20workflow=20?= =?UTF-8?q?=E2=80=94=20hadolint=20lint=20+=20build=20+=20test?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .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 }}