From 9db70ad1be73c4e55a4e35b8d2c67f8e2e38ce20 Mon Sep 17 00:00:00 2001 From: Cyrille Nofficial Date: Sat, 10 Oct 2026 16:46:56 +0200 Subject: [PATCH] ci: add Gitea Actions workflow Build is blocking; vet and test are informative (pre-existing failures). .github/workflows is left untouched for GitHub. Co-Authored-By: Claude Opus 5.5 --- .gitea/workflows/ci.yaml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .gitea/workflows/ci.yaml diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml new file mode 100644 index 0000000..a09a10b --- /dev/null +++ b/.gitea/workflows/ci.yaml @@ -0,0 +1,35 @@ +# Gitea Actions CI (banquise runner, Kubernetes backend). Gitea reads .gitea/workflows first +# and then ignores .github/workflows, which keeps serving GitHub (Docker Hub image builds via +# the push mirror). Image builds are NOT duplicated here. +name: ci + +on: + push: + pull_request: + +permissions: + contents: read + +env: + CGO_ENABLED: "0" + GOFLAGS: -mod=vendor + +jobs: + ci: + runs-on: banquise-amd64 + steps: + - uses: builtin:checkout + - uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 + with: + go-version-file: go.mod + cache: false # vendor/ is committed, nothing to download + - name: build + run: go build -o /tmp/rc-simulator ./cmd/rc-simulator/ + # vet and test have pre-existing failures (2026-10-10): informative until fixed, + # then drop continue-on-error to make them blocking. + - name: vet + continue-on-error: true + run: go vet ./... + - name: test + continue-on-error: true + run: go test -timeout 5m ./...