From 6a8aec8bde0154e5e4a8cef7b6b9b6dba6be9b26 Mon Sep 17 00:00:00 2001 From: cloudix_mcp_server Date: Sat, 13 Jun 2026 17:47:21 -0400 Subject: [PATCH] chore: convert pr to htpasswd 4-workflow pattern MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Standardise PR workflow: hadolint → build-test. --- .gitea/workflows/pr.yaml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/.gitea/workflows/pr.yaml b/.gitea/workflows/pr.yaml index 6a6be68..f62f965 100644 --- a/.gitea/workflows/pr.yaml +++ b/.gitea/workflows/pr.yaml @@ -5,20 +5,18 @@ on: branches: [master] jobs: - lint: + hadolint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 - - name: Hadolint - uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 + - uses: hadolint/hadolint-action@2332a7b74a6de0dae2221d5762e62ba76ba5e5 # v3.3.0 with: dockerfile: Dockerfile - test: + build-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 }} + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 + - uses: docker/setup-buildx-action@d7f5e7f509e45cec57ec56a6c5c6518a8f3d5f5 # v4 + - run: docker build -t ci-image:${{ github.sha }} . + - run: bash tests/test.sh ci-image:${{ github.sha }}