diff --git a/.gitea/workflows/binford-build.yaml b/.gitea/workflows/binford-build.yaml new file mode 100644 index 0000000..7a1d789 --- /dev/null +++ b/.gitea/workflows/binford-build.yaml @@ -0,0 +1,52 @@ +name: Build and Test + +on: + workflow_dispatch: + inputs: + target_branch: + description: 'Branch to build' + required: true + +jobs: + verify: + runs-on: container-builder + container: + image: debian:trixie-slim + env: + GOPROXY: https://gitea.nehmer.net/api/packages/torben/go,https://proxy.golang.org,direct + steps: + - name: Install CI Dependencies + run: | + apt-get update + apt-get install -y --no-install-recommends git nodejs curl unzip ca-certificates + + - name: Checkout Code + uses: actions/checkout@v7 + + - name: Setup Go + uses: actions/setup-go@v6 + with: + go-version-file: 'go.mod' + - name: Show Go Version + run: go version + + - name: lint + run: make lint + - name: build + run: make build + - name: security-check + run: make security-check + + - name: Paket als Artefakt hochladen + uses: actions/upload-artifact@v3 + with: + name: gitea-mcp-amd64 + path: dist/gitea-mcp + retention-days: 7 + + - name: Paket als Artefakt hochladen + uses: actions/upload-artifact@v3 + with: + name: gitea-mcp-auth-proxy-linux-amd64 + path: dist/authproxy + retention-days: 7 \ No newline at end of file